Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the following message when executing mailx

SOLVED
Go to solution
KPS
Super Advisor

Getting the following message when executing mailx

:/etc/mail # /etc/mail/sendmail.cf: line 0: cannot open: Permission denied

Checked /etc/mail/sendmail.cf and it's permissions are 444. Any other ideas on what to check?
5 REPLIES
Pat Lieberg
Valued Contributor

Re: Getting the following message when executing mailx

I'm no sendmail expert, but perhaps the sendmail daemon isn't running?
KPS
Super Advisor

Re: Getting the following message when executing mailx

sendmail is not enabled on this system. We are forwarding mail to a SMTP Relay.
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: Getting the following message when executing mailx

Hi Ken,

Could you check the permissions on /etc/mail and /var directory ?

# ls -lad /etc/mail
dr-xr-xr-x 2 bin bin 1024 Aug 22 13:21 /etc/mail
# ls -lad /var
dr-xr-xr-x 23 bin bin 1024 Feb 4 2005 /var

Regards,
Robert-Jan
KPS
Super Advisor

Re: Getting the following message when executing mailx

That was it!

It was the permissions on /etc/mail. It was set to 544 and I changed it to 555 and all is working again. Something changed on this in the last 24 hours and I think we have a handle on why. Thanks very much everyone.

KPS
KPS
Super Advisor

Re: Getting the following message when executing mailx

.