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
-
Type the following command in run "compmgmt.msc"(don’t use quotes) then u will be opened with a window in that-> Go to local us...
-
Hello Friends, Some time you want to remove / unload Trend Micro Client agent from system(Computer). Please fnid here with the details. ...
No comments:
Post a Comment