Sendmail Authenticated Relay Not Working: SASLAUTHD giving errors and SENDMAIL not shutting down

Posted on 2005-03-15
Medium Priority
Last Modified: 2013-12-17
Hi all,

I am trying to setup SMTP authentication which allows relaying. I want my users to authenticate when RECEIVING and SENDING email using my mail server.

I am using Red Hat Linux Enterprise 3 WS (Taroon Update 4) as my distro.

I tried to setup the required things for this : 1)Cyrus SASL 2)Open TLS 3)Sendmail

I downloaded and built all of these again.... but when i tried running SASL Authentication Daemon (SASLAUTHD) i run into trouble and also when i run /etc/init.d/sendmail stop ; it fails it and doesn't stop sendmail .

THe following are the outputs I was getting:

[root@myserv]# /etc/init.d/saslauthd start
Starting SASL Authentication Daemon: saslauthd[7186] :main            : could not chdir to: /var/state/saslauthd
saslauthd[7186] :main            : chdir: No such file or directory
saslauthd[7186] :main            : Check to make sure the directory exists and is
saslauthd[7186] :main            : writeable by the user this process runs as.
[root@myserv]# service sendmail restart
Shutting down sendmail:                                    [FAILED]
Shutting down sm-client:                                   [FAILED]
Starting sendmail:                                         [  OK  ]
Starting sm-client: sendmail: fatal: flush queue mode requires no recipient
[root@myserv]# /etc/init.d/sendmail stop
Shutting down sendmail:                                    [FAILED]
Shutting down sm-client:                                   [FAILED]

Hoping I get to resolve this issue at the earliest.
Thanks in advance.

PS:Reading thro sendmail.org is a bit difficult to understand and implement.

I would appreciate if a detailed method as to how to set SMTP auth could be provided.
- Arshkit
Question by:ARSHKIT
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 14

Expert Comment

ID: 13594534
When you compiled (ran ./configure) cyrus-sasl you probably included something like [--with-saslauthd=/var/state/saslauthd]

This should be [--with-saslauthd=/var/state]
LVL 40

Accepted Solution

jlevie earned 2000 total points
ID: 13608205
Your best bet for getting SMTP AUTH working is to undo your install of 1)Cyrus SASL 2)Open TLS 3)Sendmail  and reinstall the RHEL packages they damaged. Once that's done enable SMTP AUTH for LOGIN & PLAIN only in sendmail.mc and enable the saslauthd service.

Note that SMTP AUTH only affects external users. It will not help in controlling who can send mail from the mail server itself.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question