1.先删除maildrop目录下的通知邮件文件html
命令:find /var/spool/postfix/maildrop/ -type f |xargs rm -rfpost
2.中止当前用户继续向maildrop目录中发送邮件ui
解决方案:spa
在cron的第一行加入 MAILTO=""即可,这样执行当前用户的Cron时,不会发送邮件。.net
Please add the MAILTO="" in the head of cron , please see the blow sample.unix
[root@mw1 postfix]# crontab -ehtm
MAILTO=""blog
*/5 * * * * /opt/OCMonitor/bin//ocSysMonitor -top -sar –netfmtcrontab
命令:crontab -e 解释:编辑当前用户的cron服务get