Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I seem to be having some trouble with sendmail. I cannot seem to get it to send or receive anything and I am quite puzzled as to why.
I have tried the following:
1. Running in daemon mode
2. Running with suid and sgid still on the sendmail binary (turned off when that did not work).
3. Made sure Iptables and /etc/hosts.allow and .deny were configured properly (they are)
4. Made sure that /etc/sysconfig/sendmail had DAEMON=yes. (It does)
I am more concerned with out going that incoming mail. I receive the following errors:
Dec 27 07:02:23 nhtigl sendmail[26805]: NOQUEUE: SYSERR(apache): can not chdir(/var/spool/clientmqueue/): Permission denied
The perms on the folder are drwxrwx--- smmsp smmsp (This was default)
And
The last one I know is just telling me that the message cannot be sent so it is being queued up, but the address is valid so I do not know why it is not working.
Any help in this matter would be much appreciated, thanks.
It looks like you have configured sendmail to run as the user "apache" and since this user does not have rwx access to the clientmqueue directory it is unable to write the e-mails to the queue.
Nope, I don't have sendmail running as apache. My website however, does have a web based emailing system. Could apache be trying to go direct to the queue rather than going to sendmail and then out? If so how would I resolve this?
What the first reply is saying is correct from the output you provided, which is apache is running sendmail,which would explain why the error occurred since the directory in question is not world readable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.