- 论坛徽章:
- 0
|
我配置了postfix-2.5.6,也做了MX解析,就是所有邮件都跑到了root。
alias_database = hash:/etc/aliases
alias_maps = $alias_database
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, localhost,$mydomain
mydomain = test.com
myhostname = mail.test.com
mynetworks = 10.10.10.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydomain
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
maillog:
to=<root@test.com>, orig_to=<jackyin@test.com>, relay=local, delay=0.09, delays=0.04/0.04/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
发送其他用户可以,abc用户的Home文件夹未设置为/home/abc,可以在/var/spool/mail/abc 看到邮件
jackyin用户在/home/jackyin/mail/inbox看不到邮件
感谢各位大侠!!!!!
[ 本帖最后由 jackyin 于 2009-3-20 14:16 编辑 ] |
|