http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5449

           Summary: allow_user_rules produces errors with active Rule2XSBody
                    Plugin
           Product: Spamassassin
           Version: 3.2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sa-compile
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


If Rule2XSBody Plugin is active and "allow_user_rules" is true spamd reports
errors like...
[10778] error: Can't locate Mail/SpamAssassin/CompiledRegexps/body_neg950.pm in
@INC (@INC contains: ...) at (eval 931) line 1.
... for all of
body_1000.pm
body_500.pm
body_900.pm
body_neg1000.pm
body_neg400.pm
body_neg900.pm
body_neg950.pm

spamd starts without error and reports errors for every submission afterwards.

In SpamAssassin.pm the function finish_parsing() is called if allow_user_rules
is true. This way Mail::SpamAssassin::Plugin::Rule2XSBody::finish_parsing_end()
get's called again.

Since Logger.pm does
  $SIG{__DIE__} = sub {
    log_message("error", $_[0]) if $_[0] !~ /\bin eval\b/;
  };
the failing "eval" there get's logged.

I don't know exactly if it's only a duplicate of big #5445 or if it's more
complicated. So I'm filing a new bug.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to