summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ? */