OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Forward mail to another address

From: Adam Siegel (adamsycamore.us)
Date: Sun Mar 26 2006 - 13:58:30 CST


mouss wrote:

> Sandy Drobic wrote:
>
>>
>> Output of "postconf -n" is much more useful. Also output of "postconf
>> mail_version".
>> Did you postmap the file /etc/postfix/virtual after editing?
>>
>> postmap /etc/postfix/virtual
>>
>
> I don' think this is the problem. let's see his postconf -n and
> mail_version, as well as logs that show the problem...
>
>>
>>> My virtual file looks like
>>>
>>> host1.com bobhost2.com
>>
>>
>> You do know that this breaks recipient validation?
>
>
> No. This is a catchall (the right hand is a full and hopefully valid
> email address). apart from being a spam magnet, it's "technically" safe.

I think the problem is fixed. I think it turns out that the DNS MX
record was bad. mail.example.com was set to an alias of example.com
instead of its own host entry. I changed it from an alias to its own
entry and now it works. Maybe postfix was getting a connection from
example.com instead of mail.example.com even though they are the same IP
address. I am not smart enough to understand the true reason. But
everything is working good now.