LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:49 AM.

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