LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2008, 01:19 PM   #1
botskonet
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
how to config sendmail to authenticate anybody except local users?


I have sendmail using smtp auth to require authentication for email users connecting to port 25. However, internal perl scripts are now broken because they receive the "SMTP Error: 5.7.0 Authentication required".

How do I allow local scripts to send email without authentication while still requiring port 25 users to login?
 
Old 11-29-2008, 07:36 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Add this
Code:
Connect:127.0.0.1			RELAY
to your /etc/mail/access then run
Code:
cd /etc/mail; make restart
 
  


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 accepting spammers for local users jstrope Linux - Server 3 07-03-2008 09:59 AM
Sending mail between local users (other than root) fails using sendmail dbradshaw Linux - Server 3 12-29-2007 12:06 AM
how to authenticate external users but bypass prompt on local LAN users? taiwf Linux - Security 5 07-13-2005 09:01 AM
Sendmail question! Forcing FROM lines from local users? Bungo2000 Linux - Networking 5 12-15-2003 10:37 PM
sendmail compile and config for local relay heathpitts Linux - Software 0 06-23-2003 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:04 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