Samer Afach via Postfix-users:
postfix/smtp[299]: C0A3C9F906D0: to=<u...@example.com>,
relay=10.10.100.100[10.10.100.100]:25, delay=957, delays=950/0.02/6.4/0,
dsn=5.4.6, status=bounced (mail for 10.10.100.100 loops back to myself)
postfix produces this error when if finds mail is directed to itself, but
does not know what to do in such mail.
Domain example.com must be in mydestination in order for it to be local,
relay_domains in order to be remote etc:
http://www.postfix.org/ADDRESS_CLASS_README.html
Since you want example.com to be routed somewhere, it apparently belongs to
relay_domains,
On 16/07/2024 01:04, Wietse Venema wrote:
And that comes after these warnings:
postfix/smtp[289]: warning: host 10.10.100.100[10.10.100.100]:25 greeted
me with my own hostname example.com
postfix/smtp[289]: warning: host 10.10.100.100[10.10.100.100]:25 replied
to HELO/EHLO with my own hostname example.com
So give Postfix a proper hostname instead of the mail domain (and
stop ignoring Postfix warning messages).
On 16.07.24 10:00, Samer Afach via Postfix-users wrote:
Thank you. If I may ask a question related to why I did this, would
using a different myhostname not cause a problem? Both are supposed to
be for example.com because they handle emails for example.com, one for
receiving and one for sending. The docs do specify to use an FQDN,
that's why I ignored the warning. Do I have the liberty of calling
each machine whatever I want in myhostname? What's the right way to do
this?
I understand this as safety measure to avoid mail loops when sending mail to
server that has the same hostname as postfix.
Having different hostnames also helps tracking issues with e-mail -
you can see in Received: headers where the mail went through.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org