Hello, I have a domain with an external of ispconfig server mail server. I have configured dns with external mx entries. I have wait for dns propagation, more than two days, reestart postfix and amavis. Mail is never delivered: Action: failed Status: 5.4.6 Diagnostic-Code: X-Postfix; mail for domain.com loops back to myself I need to send mail from ispconfig server to a domain configured on same ispconfig but with external mail server. Any trick to solve it? Very thanks.
Ensure that you did not add this domain as mail domain in ispcofig and that this domain is not used for the server hostname or as mydomain or myhostname in postfix main.cf.
Mail domain and postfix is ok. Hi Till, Thanks for your help. All you say it's ok, but mail is deliver to the sender account with the error: Action: failed Status: 5.4.6 Diagnostic-Code: X-Postfix; mail for domain.com loops back to myself Any other thing to check? Very thanks,
Check the dns record again. according to the error message, the MX record of this domainstill points to this server.
Solution Hi Till, The solution was to delete dns, because the running dns of the domain was external. After delete dns, external mail works fine. Very thanks!