Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make smtp-auth a must in sendmail

Status
Not open for further replies.

sendmailserver

Technical User
Aug 31, 2005
1
IN
hi all,
I am using sendmail with sasl support . I am using saslauthd mechanism as "pam" . When I enable the option "Server requires authentication" then my server checks for smtp authentication for mail sending . But I want it to be a must for sending mails .Without enabling the option nobody should be able to send mails .Is there any possibility or facility available in sendmail . Where and how to enable this option . If anybody knows kindly assist me . Your earliest answer will be very much appreciatable.

Thanks in advance.
Suresh Kumar
 
Hi,

you must write in your access file:
Srv_Features l

After this makemap and then everyone must authentificate to send a mail.

 
You need these two lines in sendmail.mc:

Code:
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl

Don't forget to rebuild sendmail.cf and restart sendmail.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top