Hi All
I have some simple rules in a cf file that are not being used by the system
when scanning mail, but if copy the eml file to the server & I do a manual
scan (after su amavis) they are triggered.
Detail follows
Cheers
Mike
Spamassassin Rules
body TIOUK_PILLSPAM_1 /rx/i
describe TIOUK_PILLSPAM_1 PILL Domain Identifier
score TIOUK_PILLSPAM_1 0.5
body TIOUK_PILLSPAM_2 /rx*com/i
describe TIOUK_PILLSPAM_2 PILL Domain Identifier
score TIOUK_PILLSPAM_2 1.0
body TIOUK_PILLSPAM_3 /Important! Replace "*" with "."/i
describe TIOUK_PILLSPAM_3 PILL Domain Identifier
score TIOUK_PILLSPAM_3 10.0
Live scan
X-Spam-Status: No, hits=4.109 tagged_above=-99 required=5.96
tests=DCC_CHECK,
HELO_EQ_DE, HELO_MISMATCH_DE, HOST_MISMATCH_NET
Manual scan
Spamassassin -D -t got hit: "rx"
[6935] dbg: rules: ran body rule TIOUK_PILLSPAM_1 ======> got hit: "rx*com"
[6935] dbg: rules: ran body rule TIOUK_PILLSPAM_3 ======> got hit:
"Important! Replace "*" with ".""
Content analysis details: (16.0 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
0.3 HELO_EQ_DE HELO_EQ_DE
1.0 TIOUK_PILLSPAM_2 BODY: PILL Domain Identifier
1.0 TIOUK_PILLSPAM_1 BODY: PILL Domain Identifier
10 TIOUK_PILLSPAM_3 BODY: PILL Domain Identifier
2.0 DCC_CHECK Listed in DCC
(http://rhyolite.com/anti-spam/dcc/)
1.4 HELO_MISMATCH_DE HELO_MISMATCH_DE
0.3 HOST_MISMATCH_NET HOST_MISMATCH_NET
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Re: Spamassassin rules not used
2007-01-23 15:10:48
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mike wrote:
> Hi All
>
> I have some simple rules in a cf file that are not being used by the system
> when scanning mail, but if copy the eml file to the server & I do a manual
> scan (after su amavis) they are triggered.
(1) Make sure your *.cf file is in the same directory as your local.cf file.
(2) Make sure that the "score" and "describe" lines in your *.cf file
have no leading whitespace (or download the latest version of
load-sa-rules.pl from the 1.0 branch of the svn repository).
(3) Make sure you run load-sa-rules.pl after making these changes.
- --
Robert LeBlanc renaissoft.com>
Renaissoft, Inc.
Maia Mailguard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFtnnYGmqOER2NHewRAj6jAKCPXX1LkSTPyD0g1oyyhmiRiaZzfgCfVVUW
zSOIkpAuHdDcUcwShTJbT2w=
=q8pU
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users