Doc: Add hint about spamd and half-closed connections
[exim.git] / doc / doc-docbook / spec.xfpt
index 9cb1e4972efdf60f9275346051986a0a2996c5f5..c3fc1fb2145204e14f89aa04253276aa15980710 100644 (file)
@@ -31668,6 +31668,15 @@ configuration as follows (example):
 .code
 spamd_address = 192.168.99.45 387
 .endd
+The SpamAssassin protocol relies on a TCP half-close from the client.
+If your SpamAssassin client side is running a Linux system with an
+iptables firewall, consider setting
+&%net.netfilter.nf_conntrack_tcp_timeout_close_wait%& to at least the
+timeout, Exim uses when waiting for a response from the SpamAssassin
+server (currently defaulting to 120s).  With a lower value the Linux
+connection tracking may consider your half-closed connection as dead too
+soon.
+
 
 To use Rspamd (which by default listens on all local addresses
 on TCP port 11333)