Sebastian, > I want to write my own rules - in this case my own rules for Uribl. > If this pattern is in the mail, the score should be XX. > I enabled my own rules in local.cf in /etc/mail/spamassassin with > allow_user_rules 1 > The spamassassin --lint -D shows me > [16656] dbg: config: allowing user rules! > > My rules in local.cf are:
Assuming this local.cf is in /etc/mail/spamassassin/local.cf, these are not user rules, but is a global SpamAssassin configuration file. There is no need to set allow_user_rules when rules are in /etc/mail/spamassassin/local.cf. > uri LOCAL_URI_EXAMPLE /www\.uni-leipzig.de\.de\/2009\// > score LOCAL_URI_EXAMPLE 5.1 > > But my user rules are not working - the message with > > www.uni-leipzig.de/2009 > > is not market with 5.1 points. No wonder. Your rule request the URI ends up with a slash, and yours doesn't. The rule also requires double .de\.de, which your URI does not have. > In the postfix-mailinglist a user said "if you use amavis with > spamassassin, not all the things will happen like in the spamasassin > help document". Rules in /etc/mail/spamassassin/*.cf files work normally in amavisd, just as they do with base spamassassin. Mark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
