On Thu, Jan 31, 2013 at 09:05:02PM -0200, Marcelo Laia wrote: > Hi Martin, > > I found this line in the msmtpq (near line 183) and also in msmtpQ > (near line 166): > > if /bin/ping -qnc 1 -w 2 64.233.183.147 &> /dev/null ; then > > If I run it on a terminal, I got: > > marcelo@...327...:~$ /bin/ping -qnc 1 -w 2 64.233.183.147 > PING 64.233.183.147 (64.233.183.147) 56(84) bytes of data. > > --- 64.233.183.147 ping statistics --- > 2 packets transmitted, 0 received, 100% packet loss, time 1008ms > > marcelo@...327...:~$ > > I think there some problem here, because I wouldn’t receive anyone packet! > > But, if I ping to 8.8.8.8 I receive: > > marcelo@...327...:~$ /bin/ping -qnc 1 -w 2 8.8.8.8 > PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. > > --- 8.8.8.8 ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 32.952/32.952/32.952/0.000 ms > marcelo@...327...:~$ > > Marcelo Hi Marcelo, Alright, this explains why my initial suggestion with sed 's/debian\.org/8.8.8.8/g' -i $(which msmtpq) didn't solve the issue. I assumed you had debian.org as the online-check-host in msmtpq :) Good thing you found and solved it, I was totaly clueless at the end :) /Martin
Attachment:
pgpW5dXFsT0fk.pgp
Description: PGP signature