RedHat/CentOS 5.8 默认就有sendmail,而6.4默认没有。
 
手动清理方法:
find /var/spool/clientmqueue/ -type f|xargs rm -f
 
定时清理方法:
echo "find /var/spool/clientmqueue/ -type f|xargs rm -f" >/server/scripts/del_sys_file.sh
 
echo "00 00 * * 0 /bin/sh /server/scripts/del_sys_file.sh >/dev/null 2&1" >>/var/spool/cron/root

 

相关文章:

  • 2021-12-12
  • 2022-12-23
  • 2021-10-20
  • 2021-07-12
  • 2022-01-27
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
猜你喜欢
  • 2022-03-08
  • 2021-12-16
  • 2021-10-29
  • 2022-12-23
  • 2021-10-03
  • 2021-11-12
  • 2021-07-24
相关资源
相似解决方案