If I change: if /bin/ping -qnc 1 -w 2 64.233.183.147 &> /dev/null ; then
to: if /bin/ping -qnc 1 -w 2 8.8.8.8 &> /dev/null ; then I got: marcelo@marcelo:~$ msmtpq -r mail [ 2013-01-11-13.40.19 ] from queue ; send was successful ; purged from queue mail [ 2013-01-11-16.19.03 ] from queue ; send was successful ; purged from queue mail [ 2013-01-13-12.32.51 ] from queue ; send was successful ; purged from queue mail [ 2013-01-13-13.01.26 ] from queue ; send was successful ; purged from queue marcelo@marcelo:~$ Yep! Marcelo 2013/1/31 Marcelo Laia <marcelol...@gmail.com>: > 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@marcelo:~$ /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@marcelo:~$ > > 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@marcelo:~$ /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@marcelo:~$ > > Marcelo -- O__ --- Marcelo Luiz de Laia Rodovia MGT 367, Km 583 c/ /' _ -- Dep. de Engenharia Florestal nº 5000, Alto da Jacuba (*) \ (*) - UFVJM, Diamantina, MG, Brasil Ph: (+55) 38 9985-5078 ~~~~~~- (www.ufvjm.edu.br/floresta) FAX: (+55) 38 3532-1200 ^^^^^^^^^^- Linux user number 487797 CEP: 39.100-000 - Brazil ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ msmtp-users mailing list msmtp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msmtp-users