2014-09-21 69 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

相關問題