Want to add a new domain to my postfix, but mails not delivered (mail look back to myself)

Posted by user74850 on Server Fault See other posts from Server Fault or by user74850
Published on 2011-03-17T16:06:15Z Indexed on 2011/03/17 16:11 UTC
Read the original article Hit count: 304

Filed under:
|

Hi everybody,

My host relay is working but I was aksed to add a new domain (like external.example.com). I have added in main.cf the new fqdn in relay_domains

relay_domains = $mydestination, example.com,example2.com, externe.example.com

and in transport

example.com             smtp:[192.168.1.22]
example2.com            smtp:[192.168.1.22]
external.example.com    smtp:[192.168.1.22]

Mails sent to users with example.com and example2.com domain are well delivered. But for mails to external.example.com i got this message

Mar 17 16:47:52 relayhost postfix/smtp[11948]: 754E1876A01: to=<[email protected]>, relay=relayhost2.example.com[80.81.82.83]:25, delay=19555, delays=19525/0.01/30/0, dsn=4.4.6, status=deferred (mail for external.example.com loops back to myself)

I read another Q/A about the same issue right here, but it's not helping me.

Can you ?

© Server Fault or respective owner

Related posts about linux

Related posts about postfix