List Info

Thread: Re: Spamassassin rules not used




Re: Spamassassin rules not used
user name
2007-01-23 18:43:53
Have done all of this, some other rules are being used but not these. Mike -----Original Message----- From: maia-users-bouncesrenaissoft.com [mailto:maia-users-bouncesrenaissoft.com] On Behalf Of Robert LeBlanc Sent: 23 January 2007 21:11 To: maia-usersrenaissoft.com Subject: Re: [Maia-users] Spamassassin rules not used -----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 _______________________________________________ Maia-users mailing list Maia-usersrenaissoft.com http://www.renaissoft.com/mailman/listinfo/maia-users
Re: Spamassassin rules not used
user name
2007-01-24 03:05:35
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike wrote: > Have done all of this, some other rules are being used but not these. When you run "load-sa-rules.pl --debug", the first few lines of output should tell you the three rules directories the script is checking. Make sure that your script is located in one of those three rules directories, and is readable by the amavis user. While you're at it, you may want to verify that in your maia.conf file the $system_rules_dir is properly set to "undef" (as it is by default), so that the load-sa-rules.pl script can accurately locate your core rules, particularly if you also use the sa-update script. If "load-sa-rules.pl --debug" reveals that the script is looking in the wrong places for your rules, you can hard-code paths in the maia.conf file to correct this, but $system_rules_dir should generally be left as "undef" unless you know what you're doing. Also in the debug output, you should see the directories and files that the script is scanning for rules. Is your *.cf file being checked at all? If so, it should appear in the debug output. If any of its rules are found, it should be displaying them (either as added or skipped rules). Last but not least, remember that you need to restart amavisd-maia if you want any rule changes to be picked up. - -- Robert LeBlanc renaissoft.com> Renaissoft, Inc. Maia Mailguard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFtyFfGmqOER2NHewRAm8pAKCoDelfu+4Gi7YMJvtLASB4IYJCgACaAkwr e5X9AsikyGIcEP2jOrTeOhU= =IWXT -----END PGP SIGNATURE----- _______________________________________________ Maia-users mailing list Maia-usersrenaissoft.com http://www.renaissoft.com/mailman/listinfo/maia-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )