2 zxdnju zxdnju 于 2017.09.16 12:43 提问

postfix+dovecot+extmail+nginx,在使用outlook时出现问题

给公司内部配置个邮件服务器,不对外。
以文章http://linuxu.blog.51cto.com/9471357/1641436/作为参考。
其间出现种种问题,一一解决。目前状态是以网页的形式可以正常使用,但是使用
outlook客户端时就不能工作,显示无法登录接收的邮件服务器。
我的postfix的main.cf文件是
compatibility_level = 2
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no
inet_protocols = ipv4
meta_directory = /etc/postfix
shlib_directory = no
myhostname = XTIC
mydomain = mail.xtic.com
myorigin = $mydomain
inet_interfaces = all
#mydestination = $myhostname, localhost, $mydomain, localhost.$mydomain
mynetworks = 192.168.2.0/24, 127.0.0.0/8
#mynetworks = 0.0.0.0/0
alias_maps = hash:/etc/aliases
smtputf8_enable = no

postfix support smtp

smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = ''
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
#smtpd_recipient_restrictions = permit_mynetworks
broken_sasl_auth_clients = yes
smtpd_client_restrictions = permit_mynetworks,permit_sasl_authenticated
#smtpd_client_restrictions = permit_mynetworks
smtpd_sasl_security_options = noanonymous

postfix support virtual

virtual_mailbox_base = /var/mailbox
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_uid_maps = static:2525
virtual_gid_maps = static:2525
virtual_transport = virtual
maillog文件内容是
Sep 14 11:10:17 XTIC postfix/smtpd[5635]: connect from unknown[192.168.1.200]
Sep 14 11:10:17 XTIC postfix/smtpd[5635]: DC4901C0852: client=unknown[192.168.1.200], sasl_method=LOGIN, sasl_username=zxdong@mail.xtic.com
Sep 14 11:10:17 XTIC postfix/cleanup[5644]: DC4901C0852: message-id=<>
Sep 14 11:10:17 XTIC postfix/smtpd[5635]: disconnect from unknown[192.168.1.200] ehlo=1 auth=1 mail=1 rcpt=1 data=1 commands=5
Sep 14 11:10:18 XTIC postfix/qmgr[28146]: DC4901C0852: from=zxdong@mail.xtic.com, size=546, nrcpt=1 (queue active)
Sep 14 11:10:18 XTIC postfix/virtual[5646]: DC4901C0852: to=zxdong@mail.xtic.com, relay=virtual, delay=0.25, delays=0.17/0.03/0/0.05, dsn=2.0.0, status=sent (delivered to maildir)
Sep 14 11:10:18 XTIC postfix/qmgr[28146]: DC4901C0852: removed

望哪位高人给点指点,谢谢

Csdn user default icon
上传中...
上传图片
插入图片