这是什么直播软件软件

酷勤网 C 程序员的那点事!
当前位置: >
浏览次数:次
Linux有时会出现&You have new mail in /var/spool/mail/root&,很烦人,如何禁止掉呢?
需要修改系统配置文件,告诉系统不要去检查邮箱
[root@localhost ~]#echo &unset MAILCHECK& && /etc/profile
其实就是把unset MAILCHECK加到文件/etc/profile 的尾部即可
然后重新登陆控制台就没有这个讨厌的提醒了。
& 相关主题:xueixin 的BLOG
用户名:xueixin
文章数:49
访问量:58824
注册日期:
阅读量:5863
阅读量:12276
阅读量:410244
阅读量:1098402
51CTO推荐博文
在进入系统的时候经常提示You have new mail in /var/spool/mail/root
该怎样解决呢:
这是正常的,但是不要小视哦
修改/usr/share/logwatch/default.conf/logwatch.conf配置文件
下面为显示的配置文件
[root@localhost mail]# cat& /usr/share/logwatch/default.conf/logwatch.conf | grep -v ^#& | grep -v& ^$
LogDir = /var/log
TmpDir = /var/cache/logwatch
MailFrom = Logwatch
Print = No
Range = yesterday
Detail = Low
Service = All
Service = &-zz-network&&&&& # Prevents execution of zz-network service, which
&&&&&&&&&&&&&&&&&&&&&&&&&&& # prints useful network configuration info.
Service = &-zz-sys&&&&&&&&& # Prevents execution of zz-sys service, which
&&&&&&&&&&&&&&&&&&&&&&&&&&& # prints useful system configuration info.
Service = &-eximstats&&&&&& # Prevents execution of eximstats service, which
&&&&&&&&&&&&&&&&&&&&&&&&&&& # is a wrapper for the eximstats program.
mailer = &sendmail -t&
将其中的MailTo更改为想要输送的邮件人地地址就可以了,我改成了我的邮件地址
正好今天凌晨收到一封,内容分为
Named(一些不可链接的对象)
pam_unix(一些验证对象,比如sshd)
sendmail - largeboxes(大型邮件spool文件)
SSHD(sshd的次数,一下描述信息)
磁盘空间(挂载,空间使用情况)
等这些信息
&本文出自 “” 博客,转载请与作者联系!
了这篇文章
类别:┆阅读(0)┆评论(0)1596人阅读
Linux(3)
linux命令敲击完毕后,会显示You have new mail in /var/spool/mail/root
看着挺烦。
echo &unset MAILCHECK& && /etc/profilesource /etc/profile
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
(1)(2)(1)(1)(3)(1)(10)(10)(9)(5)(3)(10)(10)(3)(4)(6)(5)(1)(3)(1)(1)(3)(3)(3)(3)(1)(4)(2)(1)(2)(3)(2)(2)(1)(2)(2)(7)(1)(1)

我要回帖

更多关于 软件工程是什么 的文章

 

随机推荐