- 论坛徽章:
- 0
|
tail -f /var/log/maillog时出现如下报错:
Jan 4 11:52:51 localhost postfix/postdrop[10250]: warning: mail_queue_enter: create file maildrop/719748.10250: Permission denied
Jan 4 11:52:51 localhost postfix/postdrop[5710]: warning: mail_queue_enter: create file maildrop/763226.5710: Permission denied
Jan 4 11:52:51 localhost postfix/postdrop[2677]: warning: mail_queue_enter: create file maildrop/805159.2677: Permission denied
Jan 4 11:52:51 localhost postfix/postdrop[7939]: warning: mail_queue_enter: create file maildrop/861877.7939: Permission denied
然后把/var/spool/postfix/maildrop这个文件的权限改为了777,就没有有关maildrop的报错了,但还是会出现以下的错误:
Jan 4 17:46:21 localhost postfix/postdrop[17528]: warning: unable to look up public/pickup: Permission denied
Jan 4 17:47:21 localhost postfix/sendmail[22749]: warning: the Postfix sendmail command has set-uid root file permissions
Jan 4 17:47:21 localhost postfix/sendmail[22749]: warning: or the command is run from a set-uid root process
Jan 4 17:47:21 localhost postfix/sendmail[22749]: warning: the Postfix sendmail command must be installed without set-uid root file permissions
因为maillog日志是实时的写入的,所以搞到var目录很快就会满,想请教下各位大神要怎么解决啊。。
看过/var/spool/postfix/public下面的文件,并没有pickup这个文件,也试过改public的目录权限,都行不通。
|
|