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: Jeff Peng (pengdig-tech.com)
Date: Fri Jul 14 2006 - 02:11:08 CDT


>From: mouss <usebsdfree.fr>
>Reply-To: moussnetoyen.net
>To: Chris McKeever <techjedigmail.com>
>CC: Jeff Peng <pengdig-tech.com>, postfix-userspostfix.org
>Subject: Re: A question about virtual_alias
>Date: Thu, 13 Jul 2006 21:17:42 +0200
>
>Chris McKeever wrote:
>>On 7/12/06, Jeff Peng <pengdig-tech.com> 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?
>>>
>>>
>>
>>not sure if this is correct - but it may be because one variable
>>needed to have another variable defined prior. Yours called a
>>non-existent variable (or possibly default valued variable) and such
>>got defined incorrectly
>>
>>
>No order is not the issue. but redefining myhostname=localhost (in
>master.cf) breaks mydestination.
>

Could you tell me why the setting of 'myhostname' in master.cf break the
mydestination in main.cf?Thanks again.:-)