OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: A question about virtual_alias

From: mouss (usebsdfree.fr)
Date: Thu Jul 13 2006 - 14:10:18 CDT


Jeff Peng wrote:
>
>>>
>>> mydestination = localhost, localhost.$myhostname, $myhostname
>>> mydomain = $myhostname
>>> myhostname = rcptsvr.test.abc.com
>>>
>> mydomain = rcptsvr.test.abc.com
>> myhostname = $mydomain
>> mydestination = localhost, localhost.$mydomain, $mydomain
>>
>
> Hello,mouss,
> Thank you very much! How strange it is!Why the config order made by me
> is uncorrect,but the order adjusted by you is right?
>
>
because you had the (wrong) idea of setting
    myhostname=localhost
in master.cf :)

The above order avoids such issues...