spamassassin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 6481] New: SA 3.3.1 - Is "" read in TWICE when loading configuration files?
Date Mon, 09 Aug 2010 21:32:10 GMT

           Summary: SA 3.3.1 - Is "" read in TWICE when loading
                    configuration files?
           Product: Spamassassin
           Version: 3.3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P4
         Component: spamassassin

I believe that (/etc/mail/spamassassin/)"" may be read in TWICE when
SpamAssassin is loading.  Why do I think that?

In my "" file, I have some additional "report" directives that append
to the default report generation after the summary section.  Those rules are
appearing TWICE in actual reports.  I add 4 lines, and they appear as 8 lines
at the end of the report:  L1, L2, L3, L4, L1, L2, L3, and L4.  That suggests
that "" is being read twice.

I run SpamAssassin as a subroutine to MIMEDefang, not as a separate process. 
It is possible that MD is at fault, but I decided to open this bug here first
to see if anyone can confirm this behavior.  I obtain SA via CPAN.

For anything other that reports and header additions, a second reading of the
file is harmless.

Obviously, the fix is trivial.  Read "" only once and eliminate the
earlier read (the latter read is so that the local file may override settings).

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message