LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Make sendmail require authentication (https://www.linuxquestions.org/questions/linux-newbie-8/make-sendmail-require-authentication-345687/)

tcarpent 07-22-2005 07:54 AM

Make sendmail require authentication
 
Hello,

I am running sendmail and can send e-mail fine at the moment. What I would like to do is force sendmail to require authentication.

I created a user name and password using salspasswd and when I send the mail using that user name and password (via Java) it works fine and sure enough if I typo on the password the mail does not get sent. Great.

But, when I set the system property for mail.smtp.auth to false:

Code:

System.getProperties().put("mail.smtp.auth", "false");
I can send email with any user name and password.

How do I make sendmail require authentication?

Thanks!

Tim

sendmail 8.12.6
SuSE Linux


All times are GMT -5. The time now is 06:34 PM.