博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
postdrop: create file maildrop/xxx: Permission denied
阅读量:5865 次
发布时间:2019-06-19

本文共 1117 字,大约阅读时间需要 3 分钟。

You may see quite a few maildrop warning messages in the postfix logs such as

postdrop: warning: mail_queue_enter: create file maildrop/xxxx.xxxx: Permission denied

postdrop: warning: mail_queue_enter: create file maildrop/yyyy.yyyy: Permission denied

The error occurs when postfix is not able to write under the “maildrop” folder and hence unable to send emails. This is due to incorrect ownership on the ‘maildrop’ folder i.e. the “maildrop” folder is not owned by ‘postfix’.

Check the ownership/permissions of the postfix files:

# /etc/init.d/postfix check

postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/public
postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/maildrop

Solution:

Stop the postfix service:

# /etc/init.d/postfix stop

Kill the postdrop processes:

# killall -9 postdrop

Correct the ownership of the above directories:

# chown postfix.postdrop /var/spool/postfix/public -R

# chown postfix.postdrop /var/spool/postfix/maildrop -R

Now, start the postfix service:

# /etc/init.d/postfix start

Emails should now be working fine.

 

转自:

  LinuxHostingSupport.

转载地址:http://ovynx.baihongyu.com/

你可能感兴趣的文章
吐血推荐 5 个 Chrome 浏览器插件,文末有从别人的电脑移植插件的方法
查看>>
新手用不起,高手看不上系列之--MVVMHabit
查看>>
一次幸运的校招小米Java后台offer
查看>>
时序数据库连载系列: 时序数据库一哥InfluxDB之存储机制解析
查看>>
Java架构-不要成为项目风险的奴隶
查看>>
mybatis原理,配置介绍及源码分析
查看>>
Cordova+Vue开发Android应用
查看>>
HTTP协议类
查看>>
安利软件-如何一键装B
查看>>
征名公布|Qtum量子链企业版—Unita 中文名征集圆满落幕
查看>>
MySQL查询优化
查看>>
Jenkins 构建 Exec timeout!
查看>>
HttpCanary使用指南——静态注入器
查看>>
MQTT 入门
查看>>
Android Studio出现“Cannot resolve symbol XXXX”???
查看>>
探索webpack热更新对代码打包结果的影响(二)
查看>>
Android中XML的解析--使用PULL
查看>>
三、Android性能优化之常见的内存泄漏分析
查看>>
看不见的战斗——阿里云护航世界杯直播容灾实践
查看>>
搜遍整个淘宝,这8家礼物店最值得收藏!
查看>>