Re: [Exim] string_sprintf expansion was longer than 8192

Góra strony
Delete this message
Reply to this message
Autor: Marc MERLIN
Data:  
Dla: Tim Jackson
CC: exim-users
Temat: Re: [Exim] string_sprintf expansion was longer than 8192
On Sun, Sep 29, 2002 at 10:07:50PM +0100, Tim Jackson wrote:
> > The paniclog is showing fairly regular incidences of reports like:
> > 2002-09-29 20:13:47 17vjVi-0000pc-00 string_sprintf expansion was
> > longer than 8192
>
> I think this is because SpamAssassin is outputting more than 8k of header
> (probably some quality spam with a score of 50 or something). Check this,


It's one SA check that outputs all the words that are spam like in the
check. That one check, if it matches, can return a *really long* header.

> That seems a bit inconclusive; perhaps Marc will tell us if he's figured
> out what it is you need to do to get Exim to allow >8k string expansions.
> (and if not, perhaps Philip can shed some light...)


After trying a bit, I hit some other limits apparently, but then I realized
that the problem was really with SA and not exim, so submitted a fix to SA
to disable the reporting of all the spam words by default.

If you run SA 2.40 or better, my patch is in there by default.

       detailed_phrase_score { 0 | 1 }        (default: 0)
           This option displays all matches for "contains phrases
           frequently found in spam" Note that this is disabled
           by default because it can output huge headers (800
           words and more than 8KB in some cases)


Otherwise, see:
http://bugzilla.spamassassin.org/show_bug.cgi?id=444
for my patch

Marc

PS: I try  to keep current  on this  list, but sometimes  I have to  do fast
reading, so make sure you Email the sa-exim  list if you want to make sure I
see your message :-)
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/   |   Finger marc_f@??? for PGP key