Actually, instead of that can you try adding this to your mass check cf file?

mbox_format_from_regex /^From \S+  ?(\S\S\S \S\S\S .\d .\d:\d\d:\d\d \d{4}|.\d-\d\d-\d{4}_\d\d:\d\d:\d\d_)/

There should be a sane default for that option but it's somehow getting lost.

We should still be able to set it in the cf file though if my thinking is correct.

regards,
KAM

On 8/14/2012 1:49 PM, John Hardin wrote:
On Tue, 14 Aug 2012, Daniel McDonald wrote:

Each night when I run masschecks, I get a lot of (couple of hundred) errors
that look like:
Use of uninitialized value in regexp compilation at
/home/dmcdonald/nightlymc/trunk/masses/../blib/lib/Mail/SpamAssassin/Archive
Iterator.pm line 437, <DEFANGED_INPUT> line 168.

Line 437 reads:
   last if (substr($_,0,5) eq "From " && @msg && /$self->{opt_from_regex}/o);

Any idea where I should start looking to fix my mass-checks?

As stated, it's a known bug.

As a workaround so that I can run local masschecks when I need to, I've made a local change in that line to use the full regex from the default-setting code that's currently apparently being skipped.

I have not and will not check this in, as the problem needs to be correctly fixed and this is only a Q'n'D hack.

I've attached a diff so you can patch your local copy and get masschecks running again until the correct fix is made.



--
Kevin A. McGrail
President

Peregrine Computer Consultants Corporation
3927 Old Lee Highway, Suite 102-C
Fairfax, VA 22030-2422

http://www.pccc.com/

703-359-9700 x50 / 800-823-8402 (Toll-Free)
703-359-8451 (fax)
[email protected]

Reply via email to