Oct9 17:23:36 bv-diannao-004 authdaemond: failed to connect to mysql server (server=localhost, userid=extmail..): Access denied for user 'extmail..'@'localhost' (using password: YES)
Oct9 17:23:36 bv-diannao-004 authdaemond: authmysql: TEMPFAIL - no more modules will be tried
回复102楼
此问题已经解决,是 authmysqlrc 中的 MYSQL_USERNAEM中的值输入错误:em16: Oct9 13:29:50 bv-diannao-004 maildrop: Temporary authentication failure.Oct9 13:29:50 bv-diannao-004 postfix/pipe: 45DFE11CEE5: to=<test@test.com>, relay=maildrop, delay=0.25, delays=0.1/0.05/0/0.1, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/bin/maildrop: Temporary authentication failure.
marion 老兄,不知道这个是什么原因 试过重新编译 authlib,在编译 authlib 时加上了 --with-mailuser & --with-mailgroup 参数,但还是不行.
收不了邮件
Oct 10 11:02:36 linux-89 postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabledOct 10 11:02:36 linux-89 postfix/smtpd: connect from mail.3gpp.com.cn
Oct 10 11:02:36 linux-89 postfix/smtpd: 18B901C1C5: client=mail.3gpp.com.cn
Oct 10 11:02:36 linux-89 postfix/cleanup: 18B901C1C5: message-id=<011c01c80ae9$f862a050$ca01a8c0@96DA6A8BDAF141B>
Oct 10 11:02:36 linux-89 postfix/qmgr: 18B901C1C5: from=<xiangqian@3gpp.com.cn>, size=1620, nrcpt=1 (queue active)
Oct 10 11:02:36 linux-89 postfix/smtpd: disconnect from mail.3gpp.com.cn
Oct 10 11:02:36 linux-89 postfix/virtual: 18B901C1C5: to=<t1@3gpp.net.cn>, relay=virtual, delay=0.13, delays=0.08/0/0/0.04, dsn=4.2.0, status=deferred (delivery failed to mailbox /var/mailbox/987/735/t1@3gpp.net.cn: cannot open file: Is a directory)
请问,这是什么原因,都有这些目录,权限也都对!
关于postfix邮件服务器存在的问题
你好!我在你用postfix做的邮件服务器注册的账户,126、163可以向它发信,但不能向163、126发信,并返回一封标题为Undelivered Mail Returned to Sender邮件,是由 MAILER-DAEMON@mail.xxx.com (Mail Delivery System)发出,内容是This is the mail system at host mail.xxx.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<xxx@126.com>: connect to 127.0.0.1: Connection refused
希望给解决一下,如果忙给我发邮件或Q我,也行。
我的QQ是648700854.
[ 本帖最后由 junger 于 2007-10-11 08:37 编辑 ]
回复 #106 xiangxiaobao 的帖子
delivery failed to mailbox /var/mailbox/987/735/t1@3gpp.net.cn: cannot open file: Is a directory这个表明MDA期望t1@3gpp.net.cn应该为一个文件,但给出的却是目录。
建议再去检查一下有关/var/mailbox的设置。 原帖由 liheng 于 2007-10-10 10:38 发表 http://bbs.chinaunix.net/images/common/back.gif
marion 老兄,不知道这个是什么原因
把debug的级别指定为"1"吧,让信息再详细些,然后发上来日志。
回复 #107 junger 的帖子
我好久没去看过那个服务器了,那只是一个朋友测试性的服务器,关于你提到的问题我会抽时间去看看。不过,好像这会儿是不在线的。:em02:
[ 本帖最后由 marion 于 2007-10-11 09:39 编辑 ] 1、编辑/etc/postfix/main.cf,添加如下内容:
########################Virtual Mailbox Settings########################
virtual_mailbox_base = /var/mailbox
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_uid_maps = static:2525
virtual_gid_maps = static:2525
我的问题:virtual_uid_maps为什么 要使用postfix uid 2525 ,由什么决定的,看另外一份资料好像不是使用的postfix uid,这里使用什么的uid到底由什么决定.谢谢