2014-09-21 72 views
0

我目前设置运行最新的Debian的新服务器。 运行postfix和spamassassin。错误的返回路径与后缀,SpamAssassin的Debian的

过虑按预期工作。

但随着外发邮件我有过虑是对矫正“回归路”的问题。 而不是发件人地址,它始终使用它自己的垃圾邮件帐户/用户。 从标题中可以确定。但不是返回路径。从后缀master.cf

对应的线路

spamassassin unix -  n  n  -  -  pipe 
    user=debian-spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail \ -oi -f${sender} ${recipient} 

缺少什么? 感谢您提前给予的帮助。

请记住:我使用的后缀。与它的sendmail一起。

问候 托马斯

编辑: 这里有一些线我在日志文件中找到。这可能是原因。但我不知道是什么原因。

Sep 22 15:11:36 postfix/error[24169]: ABB891240069: to=<[email protected]>, orig_to=<-oi>, relay=none, delay=0.02, delays=0/0/0/0.01, dsn=5.1.3, status=bounced (bad address syntax) 
Sep 22 15:11:36 postfix/local[24168]: ABB891240069: to=<[email protected]>, relay=local, delay=0.02, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox) 
Sep 22 15:11:36 postfix/error[24169]: ABB891240069: to=<[email protected]>, relay=none, delay=0.02, delays=0/0/0/0.02, dsn=5.1.3, status=bounced (bad address syntax) 
+0

您可以添加由postfix生成的单个测试消息的日志条目吗? – AnFi 2014-09-22 07:41:49

+0

增加了一些行 – 2014-09-22 13:29:52

回答

0

看来你“的sendmail的后缀”对待-oi-f${sender}为收件人的地址。

合菜尝试:不需要在单行进入
1)\-oi之前。

+0

反斜杠是原因。现在就像一个迷人的工作。非常感谢你 – 2014-09-22 14:19:49

相关问题