主题: 关于extmail的SMTP rcpt error: 请仙人指教

本人用的是5.4的rhel
无聊在玩postfix(2.62版本)的时候出现了问题一直找不到解决方法。
具体情况:
在没有安装MailScanner前在WEB界面能自由发送(一般我都是自己发自己,因为比较方便),安装了MailScanner以后
发信就直接弹出SMTP rcpt error:
如果我把postfix配置文件里面的header_checks = regexp:/etc/postfix/header_checks注析掉或者把MailScanner关闭掉
就能发了
再上下日志
Sep 22 14:58:52 mail postfix/cleanup[5677]: fatal: open dictionary: expecting "type:name" form instead of "#MailScanner"
Sep 22 14:58:53 mail postfix/master[5044]: warning: process /usr/libexec/postfix/cleanup pid 5677 exit status 1
Sep 22 14:58:53 mail postfix/master[5044]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling

以上是按发信后弹出的内容

请仙人指教

回复: 关于extmail的SMTP rcpt error: 请仙人指教

顺便再补下postfix的配置文件
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = /usr/share/doc/postfix-2.6.2-documentation/html
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.2-documentation/readme
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
header_checks = regexp:/etc/postfix/header_checks       #MailScanner
local_destination_concurrency_limit = 1

# hostname
mynetworks = 127.0.0.1
myhostname = mail.wing.com
mydomain = wing.com
#mydestination = $mynetworks $myhostname $mydomain

# banner
mail_name = Postfix - by wing.com
smtpd_banner = $myhostname ESMTP $mail_name

# response immediately
smtpd_error_sleep_time = 0s

# Message and return code control
message_size_limit = 5242880
mailbox_size_limit = 5242880
show_user_unknown_table_name = no

# Queue lifetime control
bounce_queue_lifetime = 1d
maximal_queue_lifetime = 1d

# extmail config here
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = maildrop:

smtpd_recipient_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_non_fqdn_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unauth_destination,
        reject_unauth_pipelining,
        reject_invalid_hostname,

# SMTP sender login matching config
smtpd_sender_restrictions =
                               permit_mynetworks,
        reject_sender_login_mismatch,
        reject_authenticated_sender_login_mismatch,
        reject_unauthenticated_sender_login_mismatch

smtpd_sender_login_maps =
        mysql:/etc/postfix/mysql_virtual_sender_maps.cf,
        mysql:/etc/postfix/mysql_virtual_alias_maps.cf

# SMTP AUTH config here
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous

回复: 关于extmail的SMTP rcpt error: 请仙人指教

抱歉,精力所限,我们不对 extmail,mailscanner,以及自己配置各个组件搭建邮件服务器提供技术支持。