On Mon, Mar 26, 2012, 10:09:01, Richard wrote: > On Sat, Mar 24, 2012 at 11:32:49AM +0100, Lubos Kolouch wrote: > > Hello, > > > > I found strange issue which I can reproduce in Arch Linux, but not > > in Gentoo. > > > > 1) start mutt > > 2) send email - email is sent > > strace : http://paste.pocoo.org/show/570389/ > > > > 3) empty/change resolv.conf > > 4) send email - email is still sent, even though mutt had no change > > to resolve the smtp address > > strace : http://paste.pocoo.org/show/570391/ > > > > This is causing problems when I hibernate the notebook where the > > IP address of smtp server goes to LAN address and wake it up somewhere > > else where the address resolves to public address. > > if the IP addr of the SMTP server was resolved correctly in the first try > why would it matter when resolv.conf is changed? > > Richard
Because the IP could have changed, for example when I hibernate the notebook in company LAN (internal IP of smtp server) and resume it somewhere else (external IP of smtp server, with the internal one unreachable). Lubos