LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   maillog has dangerous warnings?? (https://www.linuxquestions.org/questions/linux-newbie-8/maillog-has-dangerous-warnings-253329/)

phpsharma 11-10-2004 02:29 PM

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

Matir 11-10-2004 02:37 PM

/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.