|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
A question about virtual_alias
From: Jeff Peng (peng
dig-tech.com)
Date: Tue Jul 11 2006 - 01:47:14 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Here are the output of 'postconf -n':
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
# this lmtp is used for KAV virutual filter
content_filter = lmtp:localhost:10025
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
mail_owner = postfix
mail_spool_directory = /home/postfix/spool/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
maximal_queue_lifetime = 2d
mydestination = localhost, localhost.$myhostname, $myhostname
mydomain = $myhostname
myhostname = rcptsvr.test.abc.com
mynetworks = 127.0.0.0/8
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /home/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_skip_5xx_greeting = no
unknown_local_recipient_reject_code = 550
virtual_alias_domains = test.abc.com
virtual_alias_maps = hash:/etc/postfix/virtual_alias
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]