You are not logged in.
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
#tlsI 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
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
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