| Main Archive Page > Month Archives > spamassassin-users archives |
John Hardin wrote:
> On Thu, 1 Dec 2011, Sergio wrote:
>
>> I want to check for specific subject size, thanks.
>
> Let's keep the discussion on-list so others may benefit.
>
> Larger than:
>
> header __SUBJ_GT_100 Subject =~ /.{101}/
>
> Smaller than or equal to:
>
> header __SUBJ_LE_100 Subject =~ /^.{0,100}$/
For MIME-encoded, does this work on the raw data or the decoded? (raw I
suspect).
/Per Jessen, Zürich