Results 1 to 4 of 4
i have a mail server on Redhat 9.0 using sendmail. it's working fine but i want to implement smtp authentication on it. Do i have to recompile sendmail sendmail on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-29-2004 #1Just Joined!
- Join Date
- Sep 2004
- Posts
- 29
smtp authentication on sendmail ?
i have a mail server on Redhat 9.0 using sendmail. it's working fine but i want to implement smtp authentication on it. Do i have to recompile sendmail sendmail on it. i am using the 8.12.8(default) version which comes with Redhat 9.0. plz help
Thanx
- 11-29-2004 #2Linux Enthusiast
- Join Date
- Jun 2002
- Location
- San Antonio
- Posts
- 621
RedHat 9 should have SMTP authentication setup already. From the machine in question run:
telnet localhost 25
It will then respond with an SMTP banner. Type:
EHLO world
And look for something that says something similar to:
250- AUTH GSSAPI LOGIN PLAIN
This shows that you have SMTP authentication setup and turned on.
Best,
SamuelI respectfully decline the invitation to join your delusion.
- 11-29-2004 #3Just Joined!
- Join Date
- Sep 2004
- Posts
- 29
smtp authentication in sendmail ?
it doesn't show there the AUTH ..... keyword. what i have to do to enable it? it shows SASL and STARTTLS when i do sendmail -d0.
Thanx
- 11-29-2004 #4Linux Enthusiast
- Join Date
- Jun 2002
- Location
- San Antonio
- Posts
- 621
Edit /etc/mail/sendmail.mc and put the following at the bottom (but just before the MAILER lines):
Ensure to cut and paste that. There are `s and 's, so be careful. Then run:Code:TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
(cd /etc/mail && make sendmail.cf) &&
/sbin/service sendmail restart
Then repeat my post above, and you should see SMTP auth setup on there.
Best,
SamuelI respectfully decline the invitation to join your delusion.


Reply With Quote
