有时在进入系统的时候经常提示You have new mail in /var/spool/mail/root 你觉得烦人---解决方法:修改系统配置文件/etc/profile,告诉系统不要去检查邮箱. 具体操作: 命令行输入:
echo "unset MAILCHECK" >> /etc/profile【把unset MAILCHECK加到文件/etc/profile 的尾部】然后重新登陆控制台就没有这个讨厌的提示了。你觉着不烦人---你想把这封信邮件发到自己的邮箱看一下---解决方法: 修改/usr/share/logwatch/default.conf/logwatch.conf配置文件 具体操作: 命令行输入:vim /usr/share/logwatch/default.conf/logwatch.conf