0

我目前设置了一个运行最新 Debian 的新服务器。运行 postfix 和 spamassassin。

Spamassassin 按预期工作。

但是对于外发邮件,我遇到了 Spamassassin 正在修改“返回路径”的问题。它总是使用自己的垃圾邮件帐户/用户,而不是发件人地址。From 在标题中是可以的。但不是返回路径。

来自 postfix 的 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=<-oi@mail.myhost.de>, 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=<root@mail.myhost.de>, 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=<-fthesender@myhost.de>, relay=none, delay=0.02, delays=0/0/0/0.02, dsn=5.1.3, status=bounced (bad address syntax)
4

1 回答 1

0

It seems that your "sendmail by postfix" treats -oi and -f${sender} as recipients' addresses.

Fixe to try:
1) \ before -oi is not needed in single line entry.

于 2014-09-22T13:43:16.947 回答