请教斑竹:Postfix+Cyrus+LDAP问题
请教斑竹和各位大哥,你们碰见过Postfix传送文件给>=2个用户时,有如下出错提示的情况吗?This is the Postfix program at host mx1.sample.com.
I'm sorry to have to inform you that your message could not be
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 Postfix program
<user1@sample.com>: data format error. Command output: : Mailbox does not
exist
<user2@sample.com>: data format error. Command output: : Mailbox does not
但其实对方是已经收到邮件,只是发送方发送邮件后,会即时返回这个错误信息,奇怪!
环境:FedoraCore 3.0+Postfix 2.1.5+Cyrus-IMAP+Cyrus-sasl(saslauthd)+OpenLDAP
描述:IMAP、LDAP的帐号已经建立,验证没问题,可发送单个邮址,可发送接收外部的邮件(单个、多个邮址都没问题)。
<maillog>
Apr 26 23:16:37 mx1 postfix/pipe[20603]: AF04F117C270: to=<user1@sample.com>, relay=cyrus, delay=0, status=bounced (data format error. Command output: : Mailbox does not exist )
Apr 26 23:16:37 mx1 postfix/pipe[20603]: AF04F117C270: to=<user2@sample.com>, relay=cyrus, delay=0, status=bounced (data format error. Command output: : Mailbox does not exist )
多谢各位支持!此问题已在昨天解决!
谢谢!
[quote]【[b]在 lxcao 发表的大作中提到:[/b]】
:
:多谢各位支持!此问题已在昨天解决!
:
:谢谢!
[/quote]
呵呵,是什么问题,怎么解决的呢?不妨帖出来?起码可以让后来人少走弯路啊。[wdb14] 呵呵呵!忙住搞其它的问题,失觉晒![wdb10]
由于邮件服务器上已安装了PMX,当时还没有时间去研究它,首先怀疑是它把邮件给退回来了,但屏蔽它后,结果还是一样,怪错它了。 :0)
接着怀疑是transport的问题,屏蔽后,错误还有。
去了几个论坛灌了几壶水,但没结果。只有自己搞了。
再次把全部配置文件和Log文件检查过,没有具体的提示,又回过来仔细分析退信,发现其中的
‘could not be be delivered to one or more recipients’这一句是关键所在,特别是‘delivered’。
检查master.cf文件内的deliver参数,如下
user=cyrus argv=/usr/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
参考了deliver的帮助,发现 -e 与 {extension} 参数都没提及到,修改参数如下
user=cyrus argv=/usr/cyrus/bin/deliver -r ${sender} ${user}
问题即刻解决!
其实上面需要修改的参数,发现曾经有文章提及过,但自己没有搞过,又点会知个中滋味呢!
希望此贴对大家都有帮助!以后会多点上来与大家交流交流!
lxcao
--------------------------
http://lxcao.blogone.net
--------------------------
页:
[1]