zoukankan      html  css  js  c++  java
  • You have new mail

    有时在进入系统的时候经常提示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

    MailTo更改为想要输送的邮件人地地址就可以了

    收到那一封信,内容分为:
    Named(一些不可链接的对象)
    pam_unix(一些验证对象,比如sshd)

    sendmail
    sendmail - largeboxes(大型邮件spool文件)
    SSHD(sshd的次数,一下描述信息)
    磁盘空间(挂载,空间使用情况)等信息

  • 相关阅读:
    数组模拟队列实现
    Vue之模板语法
    初识Vue之helloworld
    二、Lambda表达式
    一、函数式编程
    SpringCloudAlibaba之Nacos
    SpringCloudAlibaba之Sentinel
    spring的随笔2
    spring的小想法1
    关于hibernate的一些看法
  • 原文地址:https://www.cnblogs.com/fenle/p/4702666.html
Copyright © 2011-2022 走看看