On Fri, Mar 04, 2011 at 08:42:35PM +0100, G?bor L?n?rt wrote:

> These two lines always appears in the log in case the problem.
> The mentioned line of header_checks.pcre:
> 
> /^Subject: .*[0-9][0-9].*(OFF|0FF|ALL).* Pfizer/ REJECT Stop spamming us!

Try:

    # All Subject rules go between this "if" and the final /^/ OK
    # above the "endif".
    #
    if /^Subject:/
    /[0-9][0-9].*?(?:OFF|0FF|ALL).*? Pfizer/ REJECT Stop spamming us!
    # ... remaining subject rules ...
    /^/ OK
    endif

The most substantive improvement is the change from (OFF|0FF|ALL) to
(?:OFF|0FF|ALL) which should suppress generation of match substrings.
The rest is just hygiene that may improve performance.

-- 
        Viktor.

Reply via email to