Sendmail Fails to restart.
Starting sendmail : 451 4.0.0 /etc/mail/sendmail.cf : line 91 : fileclass :
Cannot open '/etc/mail/local-host-names' : World writable Directory
Recently i have faced a problem with Sendmail server, it failed to start
throwing a strange Error -
Starting sendmail : 451 4.0.0 /etc/mail/sendmail.cf : line 91 : fileclass :
Cannot open '/etc/mail/local-host-names' : World writable Directory
Starting sendmail : 451 4.0.0 /etc/mail/sendmail.cf : line 588 : fileclass :
Cannot open '/etc/mail/local-host-names' : World writable Directory
Starting sm-client : /etc/mail/submit.cf : line 545 : fileclass : Cannot
open '/etc/mail/local-host-names' : World writable Directory
Well there is nothing strange 'bout the error alone, but with the fact that
the permission to /etc/mail/* is perfectly ok, none of the files or folder
has permission to be written by any user then owner that is root. The
sendmail.cf and submit.cf has never been touched and sendmail was running
fine just before rebooting the system.
Well got the solution and it worked for me, edit the file
/etc/mail/sendmail.cf and add -o ('oh') to line 91 and 588 that is change
Fw/etc/mail/local-host-names to Fw-o /etc/mail/local-host-names. Similarly
edit /etc/mail/submit.cf and add -o that is change Ft/etc/mail/trusted-users
to Ft-o /etc/mail/trusted-users.
Karnav Thakar. MCP, MCSA, MCSE, MSITP, CHFI, ECA
Subscribe to:
Post Comments (Atom)
ISM Cyber Security Terms
ISM Cyber Security Terms
-
--> Phase 3 :- Installation of Windows Exchange server standard 2007 SP1 & Move Mailbox, Installtion/Transfer of Commercial Certi...
-
If you have PABX server like Asterisk / Free PBX / Elastix and want to feature to listen / whisper / barge to other calls. ChanSpy can gi...
No comments:
Post a Comment