PDA

View Full Version : Sendmail-SMTP-AUTH-TLS-Howto


baldur2630
25th January 2007, 13:26
I followed all th steps and everything seemed to go fine until I reached the end

To see if SMTP-AUTH and TLS work properly now run the following command:
telnet localhost 25
After you have established the connection to your sendmail mail server type
ehlo localhost
If you see the lines
250-STARTTLS
and
250-AUTH
everything is fine

ELSE seemed to be missing, because everything worked and sendmail was running, but STARTTLS and AUTH was not seen

/etc/init.d/saslauthd start seemed to start OK

Where to now?




sm

falko
26th January 2007, 17:41
Can you post the telnet output?
Any errors in your mail log?

baldur2630
27th January 2007, 01:51
I think I'm just unlucky - I had some problems with another server and I rebooted all the servers last night. Nor today when I try to telnet localhost 25. it kicks me off with a rude message saying I'm unauthorised.

I ran the command /usr/sbin/sendmail -d0.1 -bv root again and it does show SASLv2 and STARTTLS.

Sendmail is running but I can't find a log file for it.

falko
28th January 2007, 20:33
it kicks me off with a rude message saying I'm unauthorised.Did you try it as root?

Sendmail is running but I can't find a log file for it.Normally this is in the /var/log directory.

baldur2630
28th January 2007, 21:47
OK, I de-installed the entire thing and started over. This time it worked 100%. Thank you very much for all the help you have given me. I have another question. I think I may have already posted it, I'll have a look