杭州-朱智敏(13861093) 11:19:59
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp--anywhere 192.168.1.9 tcp dpt:ssh
ACCEPT tcp--anywhere 192.168.1.9 tcp dpt:pop3
ACCEPT tcp--anywhere 192.168.1.9 tcp dpt:smtp
ACCEPT tcp--anywhere 192.168.1.9 tcp dpt:tproxy
ACCEPT tcp--anywhere 192.168.1.9 tcp dpt:domain
ACCEPT tcp--192.168.1.9 anywhere tcp spt:domain
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT tcp--192.168.1.9 anywhere tcp spt:ssh
ACCEPT tcp--192.168.1.9 anywhere tcp spt:smtp
ACCEPT tcp--192.168.1.9 anywhere tcp spt:pop3
ACCEPT tcp--192.168.1.9 anywhere tcp spt:tproxy
ACCEPT tcp--192.168.1.9 anywhere tcp spt:domain
ACCEPT tcp--anywhere 192.168.1.9 tcp dpt:domain
回复 #470 zzm183 的帖子
……Jan3 10:41:52 hzhjsj postfix/smtpd: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanismsJan3 10:41:52 hzhjsj postfix/smtpd: fatal: no SASL authentication mechanisms……
这里面已经报告出了错误,或者你查看一下前面的帖子,里面有详细讨论。
回复 #471 zzm183 的帖子
DNS服务是基于UDP的吧。 ln -s /usr/local/lib/sasl2 /usr/lib/sasl2 做了好象没什么用# tail /var/log/maillog
Jan4 10:40:51 hzhjsj authdaemond: stopping authdaemond children
Jan4 10:42:10 hzhjsj authdaemond: modules="authmysql", daemons=10
Jan4 10:42:10 hzhjsj authdaemond: Installing libauthmysql
Jan4 10:42:10 hzhjsj authdaemond: Installation complete: authmysql
Jan4 10:42:21 hzhjsj postfix/postfix-script: starting the Postfix mail system
Jan4 10:42:21 hzhjsj postfix/master: daemon started -- version 2.4.5, configuration /etc/postfix
Jan4 10:42:33 hzhjsj postfix/smtpd: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Jan4 10:42:33 hzhjsj postfix/smtpd: fatal: no SASL authentication mechanisms
Jan4 10:42:34 hzhjsj postfix/master: warning: process /usr/local/postfix/libexec/smtpd pid 2311 exit status 1
Jan4 10:42:34 hzhjsj postfix/master: warning: /usr/local/postfix/libexec/smtpd: bad command startup -- throttling
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host. 搞定了,
cyrus-sasl-login-2.1.20-4.i686.rpm
cyrus-sasl-mysql-2.1.15-6tr.i586.rpm
cyrus-sasl-plain-2.1.22-82.i586.rpm
这三个包装上就好了 希望能帮助那些还受此问题困挠的兄弟门,不过域名解析的问题还没好,udp53端口开了也不行 只能service iptables stop了 有解决方法么。。。再拍下楼主的马屁(嗯?!~~ 是不是有点无耻,嘿嘿)
[ 本帖最后由 zzm183 于 2008-1-5 01:14 编辑 ]
回复 #475 zzm183 的帖子
装了这三个包,跟源码安装的sasl已经没什么关系了。你把UDP的53号端口的相关规则贴上来。 哦 不装这三个包死活上不了呀 就那提示 有点郁闷的