LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-29-2005, 08:44 PM   #1
kz26
Member
 
Registered: Aug 2005
Location: USA
Distribution: Fedora, Ubuntu, Backtrack
Posts: 70

Rep: Reputation: 15
sendmail 8.13.4-2 smtp auth nightmare


I am running FC4 with the sendmail version above.
Recently my ISP started requiring SMTP authentication on all outgoing mail.
I would have no problem with that - however sendmail doesn't seem to like my smtp auth configuration.

Here's what I did first:
1. I created a file called default-auth-info in my /etc/mail directory.
The contents of it are as follows:

Code:
AuthInfo:mail.my.isp "U:username" "P: :) " "M:LOGIN"
Then I did
Code:
makemap hash default-auth-info < default-auth-info
2. Next I made some changes to sendmail.mc.
I added the following:
Code:
FEATURE(`authinfo',`hash /etc/mail/default-auth-info')dnl
Then I uncommented these lines:
Code:
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
3. I then did a make on the mc file to get sendmail.cf.
4. I restarted the sendmail server.

Then I tried to send an email. It was NOT received.
I checked the log file.

Code:
Oct 29 21:27:13 localhost sendmail[13652]: j9TMDs8E010600: to=<me@somewhere.com>, ctladdr=<me@localhost.localdomain> (501/501), delay=03:13:19, xdelay=00:00:01, mailer=relay, pri=1200365, relay=mail.my.isp. [131.183.2.205], dsn=4.0.0, stat=Deferred: 454 5.7.3 Client does not have permission to Send As this sender.
What could be the problem? Could someone explain to me also the difference between U and I in the authinfo file?
 
Old 10-30-2005, 01:57 PM   #2
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Option 2

http://www.linuxquestions.org/questi...hreadid=354488

Pete
 
  


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 SMTP AUTH Howto SiegeX Slackware 169 01-12-2015 06:43 AM
sendmail as a smtp auth client pezzer55 Linux - General 0 03-29-2004 08:47 AM
SMTP Auth for sendmail wolftechmn Linux - Networking 4 11-27-2003 01:17 PM
Sendmail / SMTP Auth cleaner416 Linux - Networking 3 10-06-2003 10:40 AM
Sendmail & smtp auth ROAR Linux - Software 1 10-05-2003 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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