[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] [msmtpq] mail [...] from queue ; couldn't be sent - host not connected



On Sat, Jan 19, 2013 at 03:58:11PM -0200, Marcelo Laia wrote:
> On 19/01/13 at 06:53pm, Martin Stenberg wrote:
> > 
> > try doing this:
> > 
> > cp $(which msmtpq) $(which msmtpq).bak; sed 's/debian\.org/8.8.8.8/g' -i $(which msmtpq)
> > 
> 
> marcelo@...327...:~$ which msmtpq
> /home/marcelo/bin/scripts/msmtpq
> marcelo@...327...:~$ cp $(which msmtpq) $(which msmtpq).bak; sed
> 's/debian\.org/8.8.8.8/g' -i $(which msmtpq)
> marcelo@...327...:~$ which msmtpq
> /home/marcelo/bin/scripts/msmtpq
> marcelo@...327...:~$ which msmtpq.bak
> /home/marcelo/bin/scripts/msmtpq.bak
> marcelo@...327...:~$ msmtpq -r
>   mail [ 2013-01-11-13.40.19 ] from queue ; couldn't be sent - host
>   not connected
>   mail [ 2013-01-11-16.19.03 ] from queue ; couldn't be sent - host
>   not connected
>   mail [ 2013-01-13-12.32.51 ] from queue ; couldn't be sent - host
>   not connected
>   mail [ 2013-01-13-13.01.26 ] from queue ; couldn't be sent - host
>   not connected
> marcelo@...327...:~$ 
> 
> Hummmm!

What happens if you ping debian.org or 8.8.8.8 directly from your
terminal?

    ping -qnc1 -w2 8.8.8.8; echo $?

/martin

Attachment: pgpw1poo0kFwy.pgp
Description: PGP signature