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:
AuthInfo:mail.my.isp "U:username" "P: :) " "M:LOGIN"
Then I did
makemap hash default-auth-info < default-auth-info
2. Next I made some changes to sendmail.mc.
I added the following:
Then I uncommented these lines:
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.
Oct 29 21:27:13 localhost sendmail: j9TMDs8E010600: to=<email@example.com>, ctladdr=<firstname.lastname@example.org> (501/501), delay=03:13:19, xdelay=00:00:01, mailer=relay, pri=1200365, relay=mail.my.isp. [18.104.22.168], 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?