主题: Dovecot sieve日志报错

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本:0.8.1
- 使用的 Linux/BSD 发行版名称及版本号:CentOS 6.2
- 与您的问题相关的日志信息:Dovecot sieve日志报错
/var/log/sieve.log
====
Aug 07 11:51:00 lda(root): Fatal: setgid(500(vmail) from mail_gid setting) failed with euid=99(n
obody), gid=99(nobody), egid=99(nobody): Operation not permitted (This binary should probably be
called with process group set to 500(vmail) instead of 99(nobody))
Aug 07 12:59:20 lda(root): Fatal: setgid(500(vmail) from mail_gid setting) failed with euid=99(n
obody), gid=99(nobody), egid=99(nobody): Operation not permitted (This binary should probably be
called with process group set to 500(vmail) instead of 99(nobody))
Aug 07 12:59:20 lda(root): Fatal: setgid(500(vmail) from mail_gid setting) failed with euid=99(n
obody), gid=99(nobody), egid=99(nobody): Operation not permitted (This binary should probably be
called with process group set to 500(vmail) instead of 99(nobody))
Aug 07 12:59:21 lda(root): Fatal: setgid(500(vmail) from mail_gid setting) failed with euid=99(n
obody), gid=99(nobody), egid=99(nobody): Operation not permitted (This binary should probably be
called with process group set to 500(vmail) instead of 99(nobody))
Aug 07 12:59:21 lda(root): Fatal: setgid(500(vmail) from mail_gid setting) failed with euid=99(n
obody), gid=99(nobody), egid=99(nobody): Operation not permitted (This binary should probably be
called with process group set to 500(vmail) instead of 99(nobody))
Aug 07 14:09:20 lda(root): Fatal: setgid(500(vmail) from mail_gid setting) failed with euid=99(n
obody), gid=99(nobody), egid=99(nobody): Operation not permitted (This binary should probably be
called with process group set to 500(vmail) instead of 99(nobody))
Aug 07 14:09:20 lda(root): Fatal: setgid(500(vmail) from mail_gid setting) failed with euid=99(n
obody), gid=99(nobody), egid=99(nobody): Operation not permitted (This binary should probably be
called with process group set to 500(vmail) instead of 99(nobody))
Aug 07 14:09:20 lda(root): Fatal: setgid(500(vmail) from mail_gid setting) failed with euid=99(n
obody), gid=99(nobody), egid=99(nobody): Operation not permitted (This binary should probably be
called with process group set to 500(vmail) instead of 99(nobody))
Aug 07 14:09:21 lda(root): Fatal: setgid(500(vmail) from mail_gid setting) failed with euid=99(n
obody), gid=99(nobody), egid=99(nobody): Operation not permitted (This binary should probably be
called with process group set to 500(vmail) instead of 99(nobody))

回复: Dovecot sieve日志报错

有邮件要发送到系统帐号 nobody,但是它没有实际的邮箱,也没有做 alias 别名,所以导致报错。

解决办法很简单:在 /etc/postfix/aliases 里加一行(将下面的 user@domain.com 替换为一个实际的邮件地址):

nobody: user@domain.com

保存修改后执行以下命令即可:

# postalias /etc/postfix/aliases

以后所有发送到 nobody 这个系统用户的邮件都会被发送到 user@domain.com 这个实际的邮箱。

回复: Dovecot sieve日志报错

设置ALIASES后,仍然报同样错误。好像是有规律的报错,每过1小时10分钟就报4条错误。

回复: Dovecot sieve日志报错

正常情况下,/etc/postfix/aliases 里设置正确的话,这些报错不会再出现,而是发到 user@domain.com 里去。
所以我建议您检查一下 aliases 文件,是否有重名(nobody),是否有打字错误,等。以及是否执行了:postalias /etc/postfix/aliases

回复: Dovecot sieve日志报错

原来是有系统邮件要发送到root用户,aliases文件里设置root后运行正常。
奇怪的日志啊。。。怎么和nobody搞在一起了呢?