From 5b881b5a8e0d7bc540f4b63cc9559d2cb1775965 Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Thu, 30 Jul 2015 09:43:51 +0200 Subject: [PATCH] Docs: Add a note about the maximum spam bar length --- doc/doc-docbook/spec.xfpt | 3 ++- src/src/spam.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 ? */ -- 2.25.1