You are not logged in.

#1 2010-06-12 21:55:13

gdavid
Member
Registered: 2007-04-22
Posts: 22

[WORKAROUND]msmtp fails

I have been using mutt+msmtp for years.  Suddenly whenever I try to send an email I get:

msmtp: cannot locate host smtpauth.earthlink.net: Name or service not known
msmtp: could not send mail (account default from /home/gdm/.msmtprc)

If I substitute the IP address obtained by pinging smtpauth.earthlink.net in my ~/.msmtprc it works.


$ cat .msmtprc
account default
host smtpauth.earthlink.net
#host 207.69.189.205
from my-email-address
port 587
#see man page for more auth options
#auth login 
auth login
#user your_username
user my-username
#password your_password
password my-password
#If your SMTP Server supports TLS encryption, uncomment the next line
#tls

I suspect a dns problem but ping, chromium, firefox , etc all work fine.

Any help will be appreciated.

Last edited by gdavid (2010-06-14 01:22:48)

Offline

#2 2010-06-13 17:44:43

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: [WORKAROUND]msmtp fails

yes, it is a dns problem, did u recently upgrade any of the above packages? you can set the ip address in /etc/hosts as a temporary measure (or use ip in config file.)

Offline

#3 2010-06-14 01:20:57

gdavid
Member
Registered: 2007-04-22
Posts: 22

Re: [WORKAROUND]msmtp fails

The kernel, binutils and chromium were upgraded since I had last used email.

The problem persists when I use smtp.sbcglobal.net as my isp instead of smtpauth.earthlink.net.

I worked around the problem by specifying opendns nameservers in /etc/resolv.conf.tail.

Last edited by gdavid (2010-06-14 01:21:33)

Offline

Board footer

Powered by FluxBB