Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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've scoured the Internet for answers but none presented have helped.
I've installed a vanilla version of Red Hat Linux 9 plus security updates. When starting Sendmail i get the following:
No local mailer defined
QueueDirectory (Q) option must be set
This happens no matter what I do. The sendmail.cf file exists in /etc/mail and I can make changes to the sendmail.mc file and create new sendmail.cf files until I bleed. No changes I've seen so far have worked. It should be running off the line.
It should be set up to only send out mail from the localhost only. It's a hosting box so no incoming mail is allowed...yet so all incoming should be blocked by the ipchains.
If anyone has run into this issue, please let me know. I have 3 boxes now that have the same problem and have no clue why it's happening. Here's the basic sendmail.mc file I'm using.
Here's what the sendmail.cf says about the queuedirectory:
# queue directory
O QueueDirectory=/var/spool/mqueue
It does exist. I've tried everything i can think of. I've redone the sendmail.cf file several times trying to use procmail, local, smtp and it always creates a sendmail.cf file so it does exist (which is a good thing).
When I run the command sendmail -v I get the following also:
[root@ns-rhweb mail]# sendmail -v
Warning: .cf file is out of date: sendmail 8.12.8 supports version 10, .cf file is version 0
No local mailer defined
QueueDirectory (Q) option must be set
Thanks everyone for your help. The solution was quite simple and thanks to a nice man at sendmail he found it in short order. The problem was the submit.cf file was zero. When I updated the RPM for a security fix, it moved the submit.cf. After renaming the .rpmnew version and reloading it works like a charm.
I had the same problem.
This is what I had to add to my sendmail.mc file.
# queue directory
OQ/var/spool/mqueue
O QueueDirectory=/var/spool/mqueue
I found that I need both lines to satisfy sendmail.
Also, are you using the m4 processor to update your sendmail.cf file after you make changes to sendmail.mc?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.