- 论坛徽章:
- 0
|
本帖最后由 花花宝瓶 于 2013-04-26 13:45 编辑
小弟在搭建postfix+mysql+dovecot+extmail 安装步骤操作后,可以正常网外网发邮件,比如发到139的邮箱里,139可以收取到邮件,回复的邮件139邮箱提示投递成功,可以客户端并没有收到邮件,内网用户互相发邮件也收不到邮件,只能发邮件,用foxmail测试邮件 提示接收密码错误如下图
查看maillog日志提示如下,忘高手指点小弟一下
Apr 26 13:02:13 centos postfix/smtpd[22311]: connect from unknown[61.161.167.117]
Apr 26 13:02:13 centos postfix/smtpd[22311]: EEC4C3F836D: client=unknown[61.161.167.117]
Apr 26 13:02:14 centos postfix/cleanup[22320]: EEC4C3F836D: message-id=<2013042613021393774031@mczx-80>
Apr 26 13:02:14 centos postfix/qmgr[22307]: EEC4C3F836D: from=<lin@c.mnetprint.com>, size=634, nrcpt=1 (queue active)
Apr 26 13:02:14 centos postfix/smtpd[22311]: disconnect from unknown[61.161.167.117]
Apr 26 13:02:14 centos postfix/qmgr[22307]: warning: connect to transport private/maildrop???: No such file or directory
Apr 26 13:02:14 centos postfix/error[22322]: EEC4C3F836D: to=<lin@c.mnetprint.com>, relay=none, delay=0.07, delays=0.06/0/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Apr 26 13:02:16 centos dovecot: pop3-login: Aborted login: user=<lin@c.mnetprint.com>, method=PLAIN, rip=::ffff:61.161.167.117, lip=::ffff:61.161.167.114
Apr 26 13:02:19 centos dovecot: pop3-login: Disconnected: user=<lin>, method=PLAIN, rip=::ffff:61.161.167.117, lip=::ffff:61.161.167.114
main.cf 配置文件如下
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/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
# hostname
#mynetworks = 127.0.0.1
# banner
mail_name = Postfix - by extmail.org
smtpd_banner = $myhostname ESMTP $mail_name
# response immediately
smtpd_error_sleep_time = 0s
# Message and return coolcode 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
maildrop_destination_recipient_limit = 1
# 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:
|
|