maillog has dangerous warnings??
Hi all,
My mail log showing dangerous warnings like this.. whats the problem and how to stop this. Please help me. Nov 10 12:37:02 mysite sendmail[7085]: /etc/sendmail.cf: WARNING: dangerous write permissions Nov 10 12:37:02 mysite sendmail[7085]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory Nov 10 12:37:03 mysite sendmail[7095]: /etc/sendmail.cf: WARNING: dangerous write permissions Nov 10 12:37:03 mysite sendmail[7095]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory Nov 10 12:37:03 mysite sendmail[7096]: /etc/sendmail.cf: WARNING: dangerous write permissions Nov 10 12:37:03 mysite sendmail[7096]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory Nov 10 12:37:03 mysite sendmail[7097]: /etc/sendmail.cf: WARNING: dangerous write permissions Nov 10 12:37:03 mysite sendmail[7097]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory Nov 10 12:37:03 mysite sendmail[7099]: /etc/sendmail.cf: WARNING: dangerous write permissions Nov 10 12:37:03 mysite sendmail[7099]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory Nov 10 12:37:03 mysite sendmail[7100]: /etc/sendmail.cf: WARNING: dangerous write permissions Nov 10 12:37:03 mysite sendmail[7100]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory Nov 10 12:37:03 mysite sendmail[7101]: /etc/sendmail.cf: WARNING: dangerous write permissions Nov 10 12:37:03 mysite sendmail[7083]: iAAJb2007083: from=root, size=966, class=0, nrcpts=1, msgid=<200411101937.iAAJb2007083@mysite.mysite.com>, relay=root@localhost Thanks in advance, sharma |
/etc/sendmail.cf should only be writable by root. chmod 644, 640, or 600. a similar issue apparently exists on the /etc/mail/local-host-names directory. chmod it 755, 750, or 700 (as appropriate). Make sure only root has write, I believe.
|
All times are GMT -5. The time now is 08:53 PM. |