tac*_*cos 2 linux postfix centos spamassassin procmail
我验证了我的后缀安装/中继设置是否有效。现在我在 procmail 上遇到了麻烦。我使用以下命令将其连接到 postfix:
mailbox_command = /usr/bin/procmail -f -a "$USER"
Run Code Online (Sandbox Code Playgroud)
我的 procmail 配置中没有任何内容,但有以下内容:
LOGFILE=/var/procmailrc/log
Run Code Online (Sandbox Code Playgroud)
我向以前工作过的收件人发送一封电子邮件(在附加 procmail 之前)。现在它失败并出现错误:
Apr 6 14:07:05 localhost postfix/qmgr[15194]: D0C3DFF6E1: from=<double-bounce@spamkill0.XXXXX>, size=938, nrcpt=1 (queue active)
Apr 6 14:07:05 localhost postfix/local[1953]: D0C3DFF6E1: to=<root@spamkill0.XXXXX>, orig_to=<postmaster>, relay=local, delay=0.05, delays=0.02/0.01/0/0.02, dsn=5.2.0, status=bounced (can't create user output file. Command output: procmail: Couldn't create "/var/spool/mail/nobody" procmail: Couldn't read "//root" )
Apr 6 14:07:05 localhost postfix/bounce[1955]: warning: D0C3DFF6E1: undeliverable postmaster notification discarded
Apr 6 14:07:05 localhost postfix/qmgr[15194]: D0C3DFF6E1: removed
Run Code Online (Sandbox Code Playgroud)
似乎存在某种权限问题,但我不知道问题是什么,也不明白如何进一步诊断它。顺便说一下,我指定的日志文件是空的。
如何使 procmail+postfix 工作?
小智 5
我只是陷入同样的困境并找到答案
$ sudo chmod g+s /usr/bin/procmail
Run Code Online (Sandbox Code Playgroud)
答案在
http://www.irbs.net/internet/postfix/0202/1677.html
| 归档时间: |
|
| 查看次数: |
12362 次 |
| 最近记录: |