关闭提示“您在/var/spool/mail/root中有新邮件”
Centos7.6环境下安装mailx软件命令:
yum install mailx
查看邮件命令:
mail
删除所有邮件命令:
cat /dev/null > /var/spool/mail/root
禁止Centos7.6系统启动邮件检查命令:
echo "unset MAILCHECK" >> /etc/profile
原创文章,作者:狼道,如若转载,请注明出处:https://wolfsays.com/91.html