Strip leading/trailing newlines on list of headers for addition; bug 884.
[exim.git] / doc / doc-docbook / spec.xfpt
index d35c305c8ad1898c2243049a3301f3d010960cf3..5961c4bd40106088ff0ca55a2cca5b374a979e2e 100644 (file)
@@ -27320,7 +27320,9 @@ receiving a message). The message must ultimately be accepted for
 any ACL verb, including &%deny%& (though this is potentially useful only in a
 RCPT ACL).
 
-If the data for the &%add_header%& modifier contains one or more newlines that
+Leading and trailing newlines are removed from
+the data for the &%add_header%& modifier; if it then
+contains one or more newlines that
 are not followed by a space or a tab, it is assumed to contain multiple header
 lines. Each one is checked for valid syntax; &`X-ACL-Warn:`& is added to the
 front of any line that is not a valid header line.