On Wed, 2016-12-28 at 22:38 +0100, SZÉPE Viktor wrote: > Thank you Gordon! > > After a quick tcpdump. > Monit sends: > > EHLO localhost > QUIT
The following lines, or something very like them, should always be in /etc/hosts: 127.0.0.1 localhost ip4-localhost ::1 ip6-localhost ip6-loopback localhost This generally removes any dependency on DNS for resolving "localhost". > Idézem/Quoting Gordon Messmer <gordon.mess...@gmail.com>: > > > > > On 12/28/2016 11:02 AM, SZÉPE Viktor wrote: > > > > > > Could it be that Courier unbinds from localhost when eth0 is > > > down? > > > > If Monit is testing SMTP on localhost, there are a bunch of > > possible > > causes of failure. The most likely, I would think, is that DNS is > > not > > available so one of the SMTP commands issued by Monit fails. > > > > Check the mail logs for errors at the time the test fails. You're > > likely > > to find the answer there. > > > > > > ----------------------------------------------------------------- > > ------------- > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > courier-users mailing list > > courier-users@lists.sourceforge.net > > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-u > > sers > > > SZÉPE Viktor > https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md -- Lindsay Haisley | "UNIX is user-friendly, it just FMP Computer Services | chooses its friends." 512-259-1190 | -- Andreas Bogk http://www.fmp.com | ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users