LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 09: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, 02: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: 31
Option 2

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

Pete
 
  


Reply


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration