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: Tue Jul 11 2006 - 18:23:52 CDT


Jeff Peng wrote:
> Hello,
>
> I config Postfix with the virtual_alias method.I create a
> virtual_alias in
> /etc/postfix,the style is like:
>
> wxinlctest.abc.com test04localhost
> xibdghswstest.abc.com test04localhost
>
> Here test04 is the system account (exist in /etc/passwd file).
>
> Then I use postmap to turn this file to DB.
> In /etc/postfix/main.cf,I add:
>
> virtual_alias_domains = test.abc.com
> virtual_alias_maps = hash:/etc/postfix/virtual_alias
>
> Then reload postfix.But when I send message to wxinlctest.abc.com,I
> got the
> error from maillog:
>
> Jul 11 14:23:12 rcptsvr postfix/lmtp[12688]: AEB417FC003:
> to=<test04localhost.rcptsvr.test.abc.com>,
> orig_to=<wxinlctest.abc.com>,
> relay=localhost[127.0.0.1], delay=25, status=bounced (host
> localhost[127.0.0.1] said: 550 <test04localhost.rcptsvr.test.abc.com>:
> Recipient address rejected: User unknown in local recipient table (in
> reply
> to end of DATA command))

postfix says: the thing at 127.0.0.1 I am supposed to send mail to said
"user unknown ...".
so the problem is with that thing listening on 127.0.0.1 and that gets
mail by lmtp. Given the error message, this thing seems to be another
postfix smtpd. if so, you need to configure it correctly (it must be
aware of local domain).

post your master.cf.