Observed that Exim4 was listening on the IPv6 address. If you’re not accepting incoming IPv6 traffic, there’s little sense in having support enabled.
Per the Exim man page:
1 2 3 4 5 6 |
|
1 2 |
|
What’s the ::1? Per the IPv6 Wikipedia article regarding Address representation:
The 128 bits of an IPv6 address are represented in 8 groups of 16 bits each. Each group is written as 4 hexadecimal digits and the groups are separated by colons (:). The loopback address, 0000:0000:0000:0000:0000:0000:0000:0001, may be abbreviated to ::1.
Therefore, remove the semicolon and the ::1 from the “dc_local_interfaces” declaration from the file /etc/exim4/update-exim4.conf.conf, to effectively disable IPv6.
The following is a differential comparison (‘diff’) to clarify the required change:
1 2 3 4 5 6 |
|
Restart Exim:
1
|
|
Confirm only 127.0.0.1 (IPv4) is listening, by dumping socket information:
1 2 |
|