邮件服务器,postfix能正常启动,但无法发送邮件

来源:互联网 发布:生态系统研究网络 编辑:程序博客网 时间:2024/05/10 03:20

 

postfix能正常启动,但无法发送邮件,
查看日志文件(/var/log/maillog):

May 28 08:19:46 linux115 postfix/local[17523]: fatal: open lock file pid/unix.local: cannot open file: Permission denied
May 28 08:19:47 linux115 postfix/master[17517]: warning: process /usr/libexec/postfix/cleanup pid 17521 exit status 1
May 28 08:19:47 linux115 postfix/master[17517]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
May 28 08:19:47 linux115 postfix/master[17517]: warning: process /usr/libexec/postfix/local pid 17523 exit status 1
May 28 08:19:47 linux115 postfix/master[17517]: warning: /usr/libexec/postfix/local: bad command startup -- throttling


解决方法:
关闭selinux

[root@linux115 ~]#vi /etc/selinux/config
修改SELINUX为:
SELINUX=disabled

重启postfix服务,即可正常发出。

 

原创粉丝点击