~schnouki/msmtpq

fce88bc0144e8a7ea982dcd0d1f386d30cf29b74 — Thomas Jost 5 months ago c4ca8ae master
Update host used to check for network connectivity
1 files changed, 1 insertions(+), 1 deletions(-)

M cmd/msmtpqd/worker.go
M cmd/msmtpqd/worker.go => cmd/msmtpqd/worker.go +1 -1
@@ 99,7 99,7 @@ func (f *Flusher) flushQueue() (left int, success bool) {
	}

	log.Debug(gettext.Gettext("Testing if network is available…"))
	if success, output := Ping("www.google.com"); !success {
	if success, output := Ping("google.com"); !success {
		log.WithFields(log.Fields{
			"ping_output": output,
		}).Info(gettext.Gettext("Network unavailable: not flushing the queue"))