SpamAssassin 2.0 - beware of old spamassassin.cf file!

Quentin Campbell Q.G.Campbell at NEWCASTLE.AC.UK
Thu Jan 24 15:53:40 GMT 2002


Have been checking the 2.0 version of SpamAssassin by running

   spamassassin -D </tmp/a_test_spam_message

In the debug output it says that it is skipping the MISSING_HEADERS
check because it cannot find "check_for_missing_headers" in any
Mail::SpamAssassin::* package. This function is not part of the 2.0
SpamAssassin installation.

In the 1.5 version, "check_for_missing_headers" is defined in the
package Mail::SpamAssassin::EvalTest.pm. 

The name of the routine called by the MISSING_HEADERS check has changed
between 1.5 and 2.0 (it was "check_for_missing_headers" and is now
"check_for_missing_to_header").

What appears to have happended is the following:

 With 1.5 we made the file /etc/mail/spamassassin.cf the default/site
 file by removing the "default" copy which "make install" placed in
 /usr/local/lib/perl5/site_perl/5.6.1.

 In the case of 2.0, the "default" copy is now in a number of files
 in the /usr/local/share/spamassassin directory. The "make install"
 also created the sub-directory /etc/mail/spamassassin and moved our
 old /etc/mail/spamassassin.cf file there, renaming it migrated.cf.

SpamAssassin 2.0 will use the "site" file
/etc/mail/spamassassin/migrated.cf (our old spamassassin.cf) if it can
find it so it will fail to locate the old (1.5) function name that is
used there.

Quentin
---
PHONE: +44 191 222 8209    Computing Service, University of Newcastle
FAX:   +44 191 222 8765    Newcastle upon Tyne, United Kingdom, NE1 7RU.
------------------------------------------------------------------------
"Any opinion expressed above is mine. The University can get its own."  



More information about the MailScanner mailing list