marion 发表于 2007-10-12 11:11

回复 #130 asia_ji 的帖子

maildropunix-       n       n       -       -       pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}

以上第二行前一定要有空格。

marion 发表于 2007-10-12 11:13

回复 #131 asia_ji 的帖子

smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_pipelining,reject_unauth_destination

以上第二行起后面的行前一定要有空格。

marion 发表于 2007-10-12 11:15

回复 #127 asia_ji 的帖子

Oct 12 10:43:37 mail postfix/smtpd: sql_select option missing
Oct 12 10:43:37 mail postfix/smtpd: auxpropfunc error no mechanism available

检查一下sasl能否正常工作,并查看一下/usr/local/lib/sasl2/smtp.conf的内容是否正确。

改动过任何配置文件后可靠的做法是重启相关的服务,切记!

asia_ji 发表于 2007-10-12 12:56

原帖由 marion 于 2007-10-12 11:15 发表 http://bbs.chinaunix.net/images/common/back.gif


检查一下sasl能否正常工作,并查看一下/usr/local/lib/sasl2/smtp.conf的内容是否正确。

改动过任何配置文件后可靠的做法是重启相关的服务,切记!

空格是都有的,还是那个问题:temporary failure. Command output: /usr/local/bin/maildrop: Unable to change to home directory.

另外sasl服务正常,想求证一下:/usr/local/lib/sasl2/smtp.conf最终的内容应该是什么?

是这样:
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/usr/local/courier-authlib/var/spool/authdaemon/socket

还是这样:
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/usr/local/courier-authlib/var/spool/authdaemon/socket

marion 发表于 2007-10-12 13:51

是这样:
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/usr/local/courier-authlib/var/spool/authdaemon/socket

如上

asia_ji 发表于 2007-10-12 14:00

marion,您好!有些具体的问题想和您请教!能否通过msn?

asia_ji 发表于 2007-10-12 14:03

我的msn:
asia_ji@msn.com

您的msn是:yongliang@live.com吗?

marion 发表于 2007-10-12 16:19

原帖由 asia_ji 于 2007-10-12 10:19 发表 http://bbs.chinaunix.net/images/common/back.gif
(temporary failure. Command output: /usr/local/bin/maildrop: Unable to change to home directory. )
这是由于什么原因导致的??

Oct 12 10:05:26 mail postfix/pickup: 4112426B23: uid=1001...

问题已经解决,原因是以下两行中在/chroot/mail后少了个"/"符号,修改为/choort/mail/ 即可。
MYSQL_HOME_FIELD      concat('/chroot/mail',maildir)
MYSQL_MAILDIR_FIELD   concat('/chroot/mail',maildir)

asia_ji 发表于 2007-10-12 16:50

两个 “/” 让我郁闷了两天,不过亦非常值得,非常感谢 marion ,认识你非常高兴。

天使别哭 发表于 2007-10-13 16:40

:wink: 太详细了,需要用一两天才能实践完成
页: 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23
查看完整版本: RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建)