- 论坛徽章:
- 0
|
以下是报错日志!
Sep 9 13:57:23 mail postfix/smtpd[6050]: connect from mail.lead.com.cn[127.0.0.1]
Sep 9 13:57:23 mail postfix/trivial-rewrite[6051]: warning: do not list domain lead.com.cn in BOTH mydestination and virtual_mailbox_domains
Sep 9 13:57:23 mail postfix/trivial-rewrite[6051]: warning: do not list domain lead.com.cn in BOTH mydestination and virtual_mailbox_domains
Sep 9 13:57:23 mail postfix/smtpd[6050]: 3C7FEC6536: client=mail.lead.com.cn[127.0.0.1]
Sep 9 13:57:23 mail postfix/cleanup[6054]: 3C7FEC6536: message-id=<20100909055723.3C7FEC6536@mail.lead.com.cn>
Sep 9 13:57:23 mail postfix/smtpd[6050]: disconnect from mail.lead.com.cn[127.0.0.1]
Sep 9 13:57:23 mail postfix/qmgr[2504]: 3C7FEC6536: from=<alex.guo@lead.com.cn>, size=636, nrcpt=1 (queue active)
Sep 9 13:57:23 mail postfix/trivial-rewrite[6051]: warning: do not list domain lead.com.cn in BOTH mydestination and virtual_mailbox_domains
Sep 9 13:57:23 mail postfix/local[6056]: 3C7FEC6536: to=<tom.zhang@lead.com.cn>, relay=local, delay=0.57, delays=0.1/0.42/0/0.05, dsn=5.1.1, status=bounced (unknown user: "tom.zhang")
Sep 9 13:57:23 mail postfix/cleanup[6054]: C27D5C6538: message-id=<20100909055723.C27D5C6538@mail.lead.com.cn>
Sep 9 13:57:23 mail postfix/bounce[6058]: 3C7FEC6536: sender non-delivery notification: C27D5C6538
Sep 9 13:57:23 mail postfix/qmgr[2504]: 3C7FEC6536: removed
Sep 9 13:57:23 mail postfix/qmgr[2504]: C27D5C6538: from=<>, size=2418, nrcpt=1 (queue active)
Sep 9 13:57:23 mail postfix/trivial-rewrite[6051]: warning: do not list domain lead.com.cn in BOTH mydestination and virtual_mailbox_domains
Sep 9 13:57:23 mail postfix/local[6056]: C27D5C6538: to=<alex.guo@lead.com.cn>, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "alex.guo")
Sep 9 13:57:23 mail postfix/qmgr[2504]: C27D5C6538: removed
老是说用户名 unknow,我看了Mysql里面的extmail数据库里面的extmail表,这2个用户都存在的呀。。
我在google上基本上都看完了,也没有解决我的问题,我疯掉了。。。
以下是main.cf
[root@mail ~]# /usr/sbin/postconf -n
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = /var/www/postfix_html
inet_interfaces = all
local_recipient_maps =
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/postfix/man
message_size_limit = 14336000
mydestination = 172.16.200.111, $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain
mydomain = lead.com.cn
myhostname = mail.lead.com.cn
mynetworks = 172.16.200.0/24, 127.0.0.0/8
myorigin = lead.com.cn
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_pipelining,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:2525
virtual_mailbox_base = /var/mailbox
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 20971520
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = virtual
virtual_uid_maps = static:2525
救命啊!! |
|