启动Linux操作系统的时候出现:

这表示您在安装 Linux 的时候,系统时间上出现不准确了!导致于你的 sendmail 相关的设定档竟然比目前的时间还要新,它变成了魔鬼终结者,来自未来给你捣乱的。
可以使用touch /etc/mail/* 来解决问题
看,时间超前了!
[root@rac1 ~]# ls -l /etc/mail/*
-rw-r--r-- 1 root root 355 Feb 12 2010 /etc/mail/access
-rw-r----- 1 root root 12288 Sep 12 2014 /etc/mail/access.db
-rw-r--r-- 1 root root 0 Feb 12 2010 /etc/mail/domaintable
-rw-r----- 1 root root 12288 Sep 12 2014 /etc/mail/domaintable.db
-rw-r--r-- 1 root root 5521 Feb 12 2010 /etc/mail/helpfile
-rw-r--r-- 1 root root 64 Feb 12 2010 /etc/mail/local-host-names
-rw-r--r-- 1 root root 0 Feb 12 2010 /etc/mail/mailertable
-rw-r----- 1 root root 12288 Sep 12 2014 /etc/mail/mailertable.db
-rw-r--r-- 1 root root 1048 Feb 12 2010 /etc/mail/Makefile
-rw-r--r-- 1 root root 58294 Feb 12 2010 /etc/mail/sendmail.cf
-rw-r--r-- 1 root root 7205 Feb 12 2010 /etc/mail/sendmail.mc
-r--r--r-- 1 root root 41375 Feb 12 2010 /etc/mail/submit.cf
-rw-r--r-- 1 root root 940 Feb 12 2010 /etc/mail/submit.mc
-rw-r--r-- 1 root root 127 Feb 12 2010 /etc/mail/trusted-users
-rw-r--r-- 1 root root 0 Feb 12 2010 /etc/mail/virtusertable
-rw-r----- 1 root root 12288 Sep 12 2014 /etc/mail/virtusertable.db
[root@rac1 ~]# date
Thu Sep 11 22:48:00 CST 2014
[root@rac1 ~]# touch /etc/mail/*
[root@rac1 ~]# ls -l /etc/mail/*
-rw-r--r-- 1 root root 355 Sep 11 22:50 /etc/mail/access
-rw-r----- 1 root root 12288 Sep 11 22:50 /etc/mail/access.db
-rw-r--r-- 1 root root 0 Sep 11 22:50 /etc/mail/domaintable
-rw-r----- 1 root root 12288 Sep 11 22:50 /etc/mail/domaintable.db
-rw-r--r-- 1 root root 5521 Sep 11 22:50 /etc/mail/helpfile
-rw-r--r-- 1 root root 64 Sep 11 22:50 /etc/mail/local-host-names
-rw-r--r-- 1 root root 0 Sep 11 22:50 /etc/mail/mailertable
-rw-r----- 1 root root 12288 Sep 11 22:50 /etc/mail/mailertable.db
-rw-r--r-- 1 root root 1048 Sep 11 22:50 /etc/mail/Makefile
-rw-r--r-- 1 root root 58294 Sep 11 22:50 /etc/mail/sendmail.cf
-rw-r--r-- 1 root root 7205 Sep 11 22:50 /etc/mail/sendmail.mc
-r--r--r-- 1 root root 41375 Sep 11 22:50 /etc/mail/submit.cf
-rw-r--r-- 1 root root 940 Sep 11 22:50 /etc/mail/submit.mc
-rw-r--r-- 1 root root 127 Sep 11 22:50 /etc/mail/trusted-users
-rw-r--r-- 1 root root 0 Sep 11 22:50 /etc/mail/virtusertable
-rw-r----- 1 root root 12288 Sep 11 22:50 /etc/mail/virtusertable.db
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29047826/viewspace-1268067/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29047826/viewspace-1268067/
本文介绍了解决Linux系统中因系统时间不准确而导致sendmail配置文件时间异常的问题。通过更新sendmail配置文件的时间戳,确保邮件服务正常运行。
646

被折叠的 条评论
为什么被折叠?



