Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
hi,
I accidently delelte /var/log/maillog, after I recreate it, but postfix wouldn't write any mail log into it anymore, I restart postfix, no help, anyone know why?
thanks!
jimmy
[root@localhost ~]# ls -las /var/log/maillog
72 -rw-r--r-- 1 root root 63330 Jan 14 09:44 /var/log/maillog
but the problem is I deleted the origial maillog file, this one is I recreated myself. looks like postfix not really this file exits, so it didn't write any maillog in it. anyway to fix it?
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Assuming that restarting the syslog or reboot does not work, and you have SElinux enabled, then you need to change the context of the file. That's why I did ls -laZ.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.