On Fri, Jan 11, 2013 at 07:24:00PM -0200, Marcelo Laia wrote: > Itry to send mail with msmtpq and got this error message: > > mail [ 2013-01-11-16.19.03 ] from queue ; couldn't be sent - host not > connected > > However, if I sent from command line by: > > echo "a test message" | msmtp -a gmail m...@gmail.com > > or form mutt without msmtpq, message was delivered normally. > > This symptoms have started from 5 or 6 days a go. > > Hoe I could debug it to find the issue? > > Can you help me?
try doing this: cp $(which msmtpq) $(which msmtpq).bak; sed 's/debian\.org/8.8.8.8/g' -i $(which msmtpq) It looks to me like you're connection to debian.org is somehow blocked, in which case msmtpq will print this error message. Above line will replace all debian.org references to 8.8.8.8 (google dns - fairly stable host) /martin
pgp2LjDzY4XLK.pgp
Description: PGP signature
------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912
_______________________________________________ msmtp-users mailing list msmtp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msmtp-users