summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2015-07-30 09:43:51 +0200
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2015-07-30 09:43:51 +0200
commit5b881b5a8e0d7bc540f4b63cc9559d2cb1775965 (patch)
tree89e6bbe39120155e237d389073c2fb156a93647c
parent5f3f4ebf965ae21d5ddfe1b75278dcc4bbf7f1e4 (diff)
Docs: Add a note about the maximum spam bar length
-rw-r--r--doc/doc-docbook/spec.xfpt3
-rw-r--r--src/src/spam.h3
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 ? */