免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3189 | 回复: 11

postfix 问题求助 谢谢大侠们 急急急急 [复制链接]

论坛徽章:
0
发表于 2009-11-23 09:22 |显示全部楼层
错误日志:
Nov 23 03:02:55 mail postfix/smtpd[2485]: fatal: SASL per-process initialization failed
Nov 23 03:02:56 mail postfix/master[2170]: warning: process /usr/libexec/postfix/smtpd pid 2485 exit status 1
Nov 23 03:02:56 mail postfix/master[2170]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Nov 23 03:03:57 mail postfix/smtpd[2486]: warning: unsupported SASL server implementation: cyrus
Nov 23 03:03:57 mail postfix/smtpd[2486]: fatal: SASL per-process initialization failed


Nov 23 03:01:51 mail pop3d: LOGIN FAILED, user=postfix, ip=[192.168.0.101]
Nov 23 03:01:51 mail pop3d: authentication error: Input/output error

还有telnet ip 25

到一段就停止了  

急急   啊

论坛徽章:
0
发表于 2009-11-23 09:44 |显示全部楼层

论坛徽章:
0
发表于 2009-11-23 10:07 |显示全部楼层
Nov 23 03:03:57 mail postfix/smtpd[2486]: warning: unsupported SASL server implementation: cyrus

楼主这些数据包是否安装,另外你在postfix中设置使用什么验证了?
cyrus-sasl-lib-2.1.22-4
cyrus-sasl-2.1.22-4
cyrus-sasl-plain-2.1.22-4
cyrus-sasl-devel-2.1.22-4

论坛徽章:
0
发表于 2009-11-23 10:23 |显示全部楼层

回复 #3 blueswxs 的帖子

验证  我不太懂了  我搞了一天了  头都晕了  哎  


postconf -n

broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
local_recipient_maps =
local_transport = virtual
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname
mydomain = wyd.com
myhostname = mail.wyd.com
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_delay_reject = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,permit_auth_destination,reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_gid_maps = static:54321
virtual_mailbox_base = /home/mailbox
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:12345

论坛徽章:
0
发表于 2009-11-23 10:26 |显示全部楼层

回复 #3 blueswxs 的帖子

验证  我不太懂了  我搞了一天了  头都晕了  哎  


postconf -n

broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
local_recipient_maps =
local_transport = virtual
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname
mydomain = wyd.com
myhostname = mail.wyd.com
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_delay_reject = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,permit_auth_destination,reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_gid_maps = static:54321
virtual_mailbox_base = /home/mailbox
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:12345

论坛徽章:
0
发表于 2009-11-23 11:01 |显示全部楼层

回复 #3 blueswxs 的帖子

验证  我不太懂了  我搞了一天了  头都晕了  哎  


postconf -n

broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
local_recipient_maps =
local_transport = virtual
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname
mydomain = wyd.com
myhostname = mail.wyd.com
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_delay_reject = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,permit_auth_destination,reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_gid_maps = static:54321
virtual_mailbox_base = /home/mailbox
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:12345

论坛徽章:
0
发表于 2009-11-23 11:15 |显示全部楼层
原帖由 pk-feiyang 于 2009-11-23 10:26 发表
验证  我不太懂了  我搞了一天了  头都晕了  哎  


postconf -n

broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/ ...



虚拟用户配置段:
virtual_mailbox_base = /home/mailbox
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:12345

SASL验证开启:
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_sasl_security_options = noanonymous


楼主把体系结构说下例如:

  25/25    25/25     110/993  143/995    80/443   
Incoming Outgoing     POP3     IMAP    WEB-MAIL  

Postfix                                                   IMAP   
                                   Cyrus-IMAP
                                   Cyrus-SASL  
                                   saslauthd  
                                   PAM
                                   pam_mysql
                      MySQL


不明白可以参考这个文档:
http://man.chinaunix.net/tech/Postfix_I.html

论坛徽章:
0
发表于 2009-11-23 13:23 |显示全部楼层

回复 #3 blueswxs 的帖子

验证  我不太懂了  我搞了一天了  头都晕了  哎  


postconf -n

broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
local_recipient_maps =
local_transport = virtual
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname
mydomain = wyd.com
myhostname = mail.wyd.com
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_delay_reject = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,permit_auth_destination,reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_gid_maps = static:54321
virtual_mailbox_base = /home/mailbox
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:12345

论坛徽章:
0
发表于 2009-11-23 13:26 |显示全部楼层
原帖由 pk-feiyang 于 2009-11-23 13:23 发表
验证  我不太懂了  我搞了一天了  头都晕了  哎  


postconf -n

broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/ ...


smtpd_sasl_auth_enable = no
是在不行,把验证关闭,但是会有风险,将来没准会给垃圾邮件发送者提供便利。

论坛徽章:
0
发表于 2009-11-23 13:29 |显示全部楼层

回复 #7 blueswxs 的帖子

谢谢  了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP