Thank you for your answer.

This is my Debian-way hosts file

127.0.0.1 localhost
127.0.1.1 localhost
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# Original PTR=$(host "$IP" || true)
${IP} ${H} ${H%%.*}

https://github.com/szepeviktor/debian-server-tools/blob/master/debian-setup/hostname#L22-L33



Idézem/Quoting Sam Varshavchik <mr...@courier-mta.com>:

> SZÉPE Viktor writes:
>
>>
>> Good evening!
>>
>> I am investigating a strange monitoring phenomenon.
>> localhost (lo interface) is monitored on port 25 with a program  
>> called Monit.
>> Monit generates a very small SMTP communication.
>> Usually it is OK.
>>
>> When the Internet-facing interface (eth0) is down - for some reason
>> but not DHCP - the test fails.
>>
>> Of course couriertcpd binds on 127.0.0.1 only as "ADDRESS=127.0.0.1"
>>
>> Could it be that Courier unbinds from localhost when eth0 is down?
>
> Nope.
>
> Sounds like either your entry in /etc/hosts for localhost refers to  
> your public IP address, or your monitoring program is set up to  
> monitor your public IP address.



SZÉPE Viktor
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
-- 
+36-20-4242498  s...@szepe.net  skype: szepe.viktor
Budapest, III. kerület





------------------------------------------------------------------------------
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

Reply via email to