ARSHKIT
asked on
Sendmail Authenticated Relay Not Working: SASLAUTHD giving errors and SENDMAIL not shutting down
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
[FAILED]
[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
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
[FAILED]
[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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This should be [--with-saslauthd=/var/sta