Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-22-2005, 07:54 AM   #1
LQ Newbie
Registered: Jul 2005
Location: London
Posts: 1

Rep: Reputation: 0
Make sendmail require authentication


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:

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

How do I make sendmail require authentication?



sendmail 8.12.6
SuSE Linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail Authentication sachin0178 Linux - Newbie 0 10-15-2005 03:48 PM
Sendmail authentication dweeb Linux - Newbie 6 07-14-2005 05:24 AM
Sendmail Authentication KnightKrawlur Mandriva 0 08-13-2004 11:49 PM
How to config sendmail to require username/password? jimwillsher Linux - Security 1 02-09-2004 09:57 AM
sendmail authentication problem saulgonzalez Linux - Networking 5 12-08-2003 05:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration