Comments on Postfix - mail for example.com loops back to myself
Error: Postfix - mail for example.com loops back to myself You see the following error in your mail log: Feb 24 21:42:42 mail postfix/smtp[1911]: 8172723F60: to=<[email protected]>, relay=none, delay=0, status=bounced (mail for example.com loops back to myself)
6 Comment(s)
Comments
It worked!
I have same error but it already has my domail in /etc/postfix/main.cf
mydestination = holmtek-research-ltd.uk, localhost, localhost.localdomain
Works as charm! Thank you :)
So this means I should be adding gmail.com, hotmail.com, outlook.com, yahoo.com, icloud.com, whatever_other_domain_imaginable.com to my configuration ?????
No, this does not mean that. You just add your own domain name there, not recipient domains.
https://www.postfix.org/BASIC_CONFIGURATION_README.html in order to avoid mail delivery loops, you must list all hostnames of the machine, including $myhostname, and localhost.$mydomain.