主题: sieve.log错误日志提示,帮忙分析下

日志上有很多这样的提示:
deliver(policyd): Nov 03 23:20:06 Info: msgid=<20091104063006.F224FF401C@www.moyeamedia.com>: Couldn't open mailbox INBOX: Internal error occurred. Refer to
server log for more information. [2009-11-03 23:20:06]
deliver(policyd): Nov 03 23:20:06 Error: chdir(/sbin/nologin) failed: Not a directory
deliver(policyd): Nov 03 23:20:06 Error: stat(//sbin/nologin//policyd/cur) failed: Not a directory
deliver(policyd): Nov 03 23:20:06 Error: stat(/sbin/nologin/.dovecot.sieve) failed: Not a directory
deliver(policyd): Nov 03 23:20:06 Error: stat(/home/vmail/.dovecot.sieve) failed: Permission denied
deliver(policyd): Nov 03 23:20:06 Error: stat(//sbin/nologin//policyd/cur) failed: Not a directory
deliver(policyd): Nov 03 23:20:06 Info: msgid=<20091104040048.20EC5F4019@www.moyeamedia.com>: Couldn't open mailbox INBOX: Internal error occurred. Refer to
server log for more information. [2009-11-03 23:20:06]
deliver(policyd): Nov 03 23:20:06 Error: chdir(/sbin/nologin) failed: Not a directory
deliver(policyd): Nov 03 23:20:06 Error: stat(//sbin/nologin//policyd/cur) failed: Not a directory
deliver(policyd): Nov 03 23:20:06 Error: stat(/sbin/nologin/.dovecot.sieve) failed: Not a directory
deliver(policyd): Nov 03 23:20:06 Error: stat(/home/vmail/.dovecot.sieve) failed: Permission denied
deliver(policyd): Nov 03 23:20:06 Error: stat(//sbin/nologin//policyd/cur) failed: Not a directory
deliver(policyd): Nov 03 23:20:06 Info: msgid=<20091104041552.46AB2F401F@www.moyeamedia.com>: Couldn't open mailbox INBOX: Internal error occurred. Refer to
server log for more information. [2009-11-03 23:20:06]
deliver(blog@leawo.com): Nov 03 23:26:49 Info: msgid=<5e

回复: sieve.log错误日志提示,帮忙分析下

看日志是说 policyd 用户的 HOME 目录被设置成了 /sbin/nologin,deliver 程序无法投递 policyd 用户的邮件。

最简单的方法是在 /etc/postfix/aliases 里建立一条 policyd 的 alias 地址。

回复: sieve.log错误日志提示,帮忙分析下

[root@www ~]# cat /etc/postfix/aliases
root: swfkits@gmail.com

我这里原来就已经设置了别名,日志一样提示错误如上

回复: sieve.log错误日志提示,帮忙分析下

老大,是 policyd 用户,不是 root 用户。