spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bowie Bailey <>
Subject Re: regex for short messages
Date Mon, 14 Jun 2010 15:00:30 GMT
Daniel Lemke wrote:
> Hi,
> I want to check some mails for their char count (will be part of a meta
> rule) but spamassassin does hit the rule, even if the mail has less chars
> than defined in regex.
> The regex was tested in Perl and was working fine, so what did I miss?
> body			MY_BODY_SHORT_MAIL		/\A.{0,150}\z/s
> describe		MY_BODY_SHORT_MAIL		Short Mail
> score			MY_BODY_SHORT_MAIL		0.1

I assume you meant to say that it does NOT hit?

Don't know what the problem is.  It works fine for me.


View raw message