earthlink has decided to shut off smtp.earthlink.net port 25
which I had working fine using:
define(`SMART_HOST',`smtp.earthlink.net')dnl
I noticed this with Thunderbird and changed configuration to
smtpauth.earthlink.net port 587 and Thunderbird works fine.
telnet smtpauth.earthlink.net 587
works fine
sendmail on the other hand when trying to send an email, thru squirrelmail writes to /var/log/maillog
Nov 11 17:57:35 www sendmail[8156]: nABNkN1H007776: to=<user@edu.edu>, ctladdr=<user@www.mydomain.org> (500/500), delay=00:11:12, xdelay=00:00:00, mailer=relay, pri=390721, relay=smtpauth.earthlink.net. [207.69.189.202], dsn=4.0.0, stat=Deferred: smtpauth.earthlink.net.: No route to host
I changed my /etc/mail/sendmail.mc to modify/add:
define(`SMART_HOST',`smtpauth.earthlink.net')dnl
define(`confLOG_LEVEL',`40')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl
and create the file /etc/mail/auth/client-info as
AuthInfo:smtpauth.earthlink.net:587 "U:user@earthlink.net" "I:user@earthlink.net" "P
assword" "M:PLAIN LOGIN"
and run the commands
makemap hash client-info < client-info
chmod 600 client-info*
service sendmail restart
but the same message is logged to /var/log/maillog
with the added confLOG_LEVEL message I get the additional messages
Nov 11 17:57:35 www sendmail[8156]: nABNkN1H007776: makeconnection (smtpauth.earthlink.net. [207.69.189.201]) failed: No route to host
I change /etc/mail/auth/client-info and rerun the commands to have a
bogus smtp server address and there is no change in the output to
/var/log/maillog, i.e. I do not think the authinfo is doing anything.
How to debug ???