From: Oguz Yilmaz on 21 Jun 2010 07:58 Hi, In some of my setups, I locate postfix as content filtering for smtp, and before the original mail server. internet -> postfix relay -> mail server In cases of "myhostname=mail.mydomain.com" and also the hostname of the mail server is "mail.mydomain.com" Postfix will give an error of "greeted me with my own hostname" and bounce the e-mail with "loops back to myself". Actually this is not a real loopback case. Is it possible to disable checking for the corresponding hostname of the transport? Best Regards, Oguz Yilmaz Postfix 2.2.11 warning: host 10.15.0.10[10.15.0.10] greeted me with my own hostname mail.mydomain.com warning: host 10.15.0.10[10.15.0.10] replied to HELO/EHLO with my own hostname mail.mydomain.com 6E0E31C3AC7: to=<test(a)mydomain.com>, relay=10.15.0.10[10.15.0.10], delay=5, status=bounced (mail for 10.15.0.10 loops back to myself) fallback_transport = maildrop mydestination = localhost, localdomain, localhost.localdomain, $myhostname mydomain = mydomain.com myhostname = mail.mydomain.com mynetworks = 127.0.0.1, 10.0.0.0/8 relay_domains = $mydestination, mydomain.com smtp_host_lookup = native, dns transport_maps = hash:/etc/postfix/transport transport: mydomain.com smtp:10.15.0.10 ..mydomain.com smtp:10.15.0.10
From: Wietse Venema on 21 Jun 2010 08:20 Oguz Yilmaz: > Hi, > > In some of my setups, I locate postfix as content filtering for smtp, > and before the original mail server. > > internet -> postfix relay -> mail server > > In cases of "myhostname=mail.mydomain.com" and also the hostname of > the mail server is "mail.mydomain.com" Postfix will give an error of > "greeted me with my own hostname" and bounce the e-mail with "loops > back to myself". Actually this is not a real loopback case. Use different myhostname settings for different MTA instances. Each name should match the inet_interfaces setting of its MTA. Wietse
From: Oguz Yilmaz on 23 Jun 2010 14:47 For the case, mail server is not necessarily a Postfix. Yes it is a workaround to find different myhostname variable setting then hostname of the real mail server. internet -> postfix relay -> mail server mail.mydomain.com mail.mydomain.com However, this needs a control: - new myhostname should resolv to the same IP and the IP to the same myhostname for a best practice antispam configuration. - The customer may not have any other hostname defined in the DNS. So, those cases will need a control and will not work seamlessly. I just wanted to ask If Is there a way to disable "loops back to myself" errors in a case which is not actually a real loop back. Thanks Mr. Venema. Best Regards, On Mon, Jun 21, 2010 at 3:20 PM, Wietse Venema <wietse(a)porcupine.org> wrote: > Oguz Yilmaz: >> Hi, >> >> In some of my setups, I locate postfix as content filtering for smtp, >> and before the original mail server. >> >> internet -> postfix relay -> mail server >> >> In cases of "myhostname=mail.mydomain.com" and also the hostname of >> the mail server is "mail.mydomain.com" Postfix will give an error of >> "greeted me with my own hostname" and bounce the e-mail with "loops >> back to myself". Actually this is not a real loopback case. > > Use different myhostname settings for different MTA instances. > Each name should match the inet_interfaces setting of its MTA. > > Wietse >
|
Pages: 1 Prev: DKIM configuration with postfix 2.5.5 on Debian Lenny Next: Proper use of OK based on sender? |