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 <[email protected]> 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
>