|
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: Sandy Drobic (postfix-users
japantest.homelinux.com)
Date: Tue Jul 11 2006 - 07:39:42 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeff Peng wrote:
> Hello,
>
> I config Postfix with the virtual_alias method.I create a virtual_alias in
> /etc/postfix,the style is like:
>
> wxinlc
test.abc.com test04
localhost
> xibdghsws
test.abc.com test04
localhost
>
> 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 wxinlc
test.abc.com,I got
> the
> error from maillog:
>
> Jul 11 14:23:12 rcptsvr postfix/lmtp[12688]: AEB417FC003:
> to=<test04
localhost.rcptsvr.test.abc.com>, orig_to=<wxinlc
test.abc.com>,
> relay=localhost[127.0.0.1], delay=25, status=bounced (host
> localhost[127.0.0.1] said: 550 <test04
localhost.rcptsvr.test.abc.com>:
> Recipient address rejected: User unknown in local recipient table (in reply
> to end of DATA command))
>
> Could you tell me why this happen and how to resolve it?Thanks.
"xxx
localhost" is not a fully qualified domain name, so Postfix remedies
that and adds the value of $myorigin to the alias. Use a FQDN in virtual,
that will get rid of your problem.
Sandy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]