做好的mail无法接收邮件,发送邮件正常,把解决过程贴出来。
投递过程出现如下错误:----日志显示(cat /var/log/maillog)
Nov 2 14:59:30 net-server postfix/qmgr[3434]: C33521CD7F3: from=, size=20355, nrcpt=1 (queue active)
Nov 2 14:59:30 net-server [3546]: Temporary .
Nov 2 14:59:30 net-server postfix/pipe[3543]: C33521CD7F3: to=, relay=maildrop, delay=0.35, delays=0.33/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: Temporary authentication failure. )
1:说明编译authlib时没有指定maildrop的用户和组,加上--with-mailuser和--with-mailgroup 指定用户和组后重(vmail.vmail).
2:重新确认/usr/local/etc/authlib/authdaemonrc中关于数据库的设定.
(比如MYSQL_CLEAR_PWFIELD clear_password ,在无此字段,应该取消)
3:修改/usr/local/etc/authlib/authdaemonrc,打开更加详细log信息,
DEBUG_LOGIN=2
然后再根据实际情况处理.
阅读(1331) | 评论(0) | 转发(0) |