From: Heiko Schlittermann (HS12-RIPE) Date: Thu, 30 Jul 2015 07:43:51 +0000 (+0200) Subject: Docs: Add a note about the maximum spam bar length X-Git-Tag: exim-4_87_RC1~137 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5b881b5a8e0d7bc540f4b63cc9559d2cb1775965;p=exim.git Docs: Add a note about the maximum spam bar length --- diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 238598229..e1eaf3f70 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -31165,7 +31165,8 @@ The integer value is useful for numeric comparisons in conditions. A string consisting of a number of &"+"& or &"-"& characters, representing the integer part of the spam score value. A spam score of 4.4 would have a &$spam_bar$& value of &"++++"&. This is useful for inclusion in warning -headers, since MUAs can match on such strings. +headers, since MUAs can match on such strings. The maximum length of the +spam bar is 50 characters. .vitem &$spam_report$& A multiline text table, containing the full SpamAssassin report for the diff --git a/src/src/spam.h b/src/src/spam.h index 05ab655de..2fe73809e 100644 --- a/src/src/spam.h +++ b/src/src/spam.h @@ -12,7 +12,8 @@ /* timeout for reading and writing spamd */ #define SPAMD_TIMEOUT 120 -/* maximum length of the spam bar */ +/* maximum length of the spam bar, please update the + * spec, the max length is mentioned there */ #define MAX_SPAM_BAR_CHARS 50 /* SHUT_WR seems to be undefined on Unixware ? */