Wednesday, October 27, 2010

fileclass: cannot open '/etc/mail/local-host-names sendmail

fileclass: cannot open '/etc/mail/local-host-names sendmail
problem

sendmail is not working. Giving the error '/etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory'.

Solution

1). 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.

2). Similarly edit /etc/mail/submit.cf and add -o to line 544( i think it may differ) that is change Ft/etc/mail/trusted-users to Ft-o /etc/mail/trusted-users.

3). save both files and restart sendmail

No comments:

Post a Comment

Powered by Blogger.