MailScanner/SA crash (regex limit?)

Julian Field mailscanner at ecs.soton.ac.uk
Sat Aug 10 16:30:41 IST 2002


What version of Perl are you using? If not 5.6.1, then that might be worth
a try. Don't try using 5.8 yet!

Call SpamAssassin inside an eval isn't something I had thought of doing,
but you are quite right, it would be a good idea. That will probably not
make it into a minor release (if there are going to be any imminently,
which I can't currently see any reason for), but I will get it into the
major release that will happen once I've done the "big rewrite" that is
just starting at the moment.

So it's definitely a neat idea, and I will do it at some point!

Jules.

At 14:57 10/08/2002, you wrote:
>Had my first MailScanner problem in quite a while this morning (well, it
>isn't really MailScanner, I suspect it is SpamAssassin, or rather some Perl
>limitation).  Error is as follows:
>
>Quantifier in {,} bigger than 32766 before HERE mark in regex m/^45962\ \
>Subject: (.{ << HERE 45953})/
>
>MailScanner would croak after the above error, and ~7,000 messages backed
>up in the few hours it was looping with this error.  I turned off
>SpamAssassin checking, and things went through OK.  Suggestions as to ways
>to prevent this from occuring in the future?  Why would MailScanner not
>just bypass the message causing it to croak and move on to the next one?
>
>--Mike

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list