Re: exim not acting on SpamAssassin config

Magnus Holmgren <[email protected]> Tue, 19 Dec 2006 10:03:12 +0100
Newsgroups gmane.mail.exim.spamassassin
Organization Lysator ACS
Message-ID <[email protected]>
On Tuesday 19 December 2006 03:17, Paul wrote:
> I have having problems with sa-exim running on debian. When email is
> scanned by sa-exim the settings in /etc/spamassassin/local.cf do not
> have any affect on sa-exim. If a file is scanned by spamc manually
> the setting are used.
>
> For example, this line in : etc/spamassassin/local.cf
> version_tag spike1
>
> Here are some of the headers from an email scanned by sa-exim:
> X-SA-Exim-Connect-IP: 127.0.0.1
> X-SA-Exim-Mail-From: [email protected]
> Subject: sa-config
> X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100)
> X-SA-Exim-Scanned: Yes (on spike)
>
> sa-exim seems to completely ignore my settings. What have I done wrong?

The header fields with names beginning with X-SA-Exim- are added by SA-Exim 
before passing the mail to spamc. They have nothing to do with local.cf. When 
the processed mail comes back, SA-Exim unfortunately can't just replace the 
entire mail header with a single function call. Instead it checks for 
X-Spam-* fields and adds those, as well as changing the Subject if it has 
been rewritten.

The only header field that should be affected by "version_tag spike1" is 
X-Spam-Version. Have you checked that?

-- 
Magnus Holmgren        [email protected]
                       (No Cc of list mail needed, thanks)

  "Exim is better at being younger, whereas sendmail is better for 
   Scrabble (50 point bonus for clearing your rack)" -- Dave Evans

_______________________________________________
SA-Exim mailing list
[email protected]
http://lists.merlins.org/lists/listinfo/sa-exim
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBFh6rYk7mRNn1h4+YRAjK/AJwLD3qLqPLPn98bEPRCge2O5Pk6vQCfZSdL
Cq1saeEguw6rLukf43k7Q24=
=FPS4
-----END PGP SIGNATURE-----