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 me@...20... > > 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
Attachment:
pgptz3wV1hh5X.pgp
Description: PGP signature