1847056 Members
5712 Online
110261 Solutions
New Discussion

Send mail problem

 
Srinivas_3
Occasional Advisor

Send mail problem

I want to remove world writable files in /etc. So I did chmod -R o-w /etc.
Since then when I execute newaliases to rebuild the aliases database I get the following error. This error also repeats when starting sendmail daemon.

newaliases: cannot open /etc/mail/aliases: Executable files not allowed

Also I can not send email, the /var/adm/syslog/mail.log shows me:

sendmail[4838]: NOQUEUE: SYSERR(root): opendaemonsocket:
cannot bind: Address already in use
Dec 12 03:15:58 finsgdb sendmail[4838]: problem creating SMTP socket

Configuration:

HPUX 11.0, Sendmail 8

I am not able to figure out which, directory or file needs others write permission.
1 REPLY 1
U.SivaKumar_2
Honored Contributor

Re: Send mail problem

Hi,

#chmod -x /etc/mail/aliases

And restart sendmail

regards,
U.SivaKumar
Innovations are made when conventions are broken