Package: sendmail-base
Version: 8.13.8-3
Severity: normal
Tags: patch

*** Please type your report below this line ***
Expample acces file contain these lines:

Connect:[IPv6:::1]      RELAY
GreetPause:[IPv6:::1]   0
ClientRate:[IPv6:::1]   0
ClientConn:[IPv6:::1]   0

Adding simmilar lines with a real IPv6 just does not work. In fact,
ipv6 localhost aka ::1 is allowed to relay by another mecanism. These
lines never match and do nothing. So that exemple is really confusing!
Correct syntax is:

Connect:IPv6:::1      RELAY
GreetPause:IPv6:::1   0
ClientRate:IPv6:::1   0
ClientConn:IPv6:::1   0

Moreover, fixing that resulted in improved performance on local
delivery!
You can test how telnet ::1 25 show the prompt faster.
--- debian/examples/db/access	2008-03-15 20:47:24.000000000 +0100
+++ debian/examples/db/access	2008-03-15 20:47:56.000000000 +0100
@@ -77,10 +77,10 @@
 GreetPause:127			0
 ClientRate:127			0
 ClientConn:127			0
-Connect:[IPv6:::1]		RELAY
-GreetPause:[IPv6:::1]	0
-ClientRate:[IPv6:::1]	0
-ClientConn:[IPv6:::1]	0
+Connect:IPv6:::1		RELAY
+GreetPause:IPv6:::1		0
+ClientRate:IPv6:::1		0
+ClientConn:IPv6:::1		0
 #Connect:172.16			RELAY
 #Connect:172.17			RELAY
 #Connect:172.18			RELAY

Reply via email to