zzm183 发表于 2008-01-03 11:48

有个问题,防火墙开了以后host 本机域名 或者host www.yahoo.com.cn都不能解析,53端口已经开了
杭州-朱智敏(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

marion 发表于 2008-01-03 17:19

回复 #470 zzm183 的帖子

……Jan3 10:41:52 hzhjsj postfix/smtpd: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Jan3 10:41:52 hzhjsj postfix/smtpd: fatal: no SASL authentication mechanisms……

这里面已经报告出了错误,或者你查看一下前面的帖子,里面有详细讨论。

marion 发表于 2008-01-03 17:21

回复 #471 zzm183 的帖子

DNS服务是基于UDP的吧。

zzm183 发表于 2008-01-04 10:52

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.

zzm183 发表于 2008-01-05 01:11

搞定了,
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 编辑 ]

marion 发表于 2008-01-06 18:25

回复 #475 zzm183 的帖子

装了这三个包,跟源码安装的sasl已经没什么关系了。

你把UDP的53号端口的相关规则贴上来。

zzm183 发表于 2008-01-06 19:58

哦 不装这三个包死活上不了呀 就那提示 有点郁闷的

marion 发表于 2008-01-08 10:37

回复 #477 zzm183 的帖子

如果目的达到了,你也可以使用RPM包,只是注意使用中有些问题处理可能跟源码有所不同。

asia_ji 发表于 2008-01-10 10:46

顶上!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

rabe 发表于 2008-01-10 14:07

页: 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57
查看完整版本: RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建)