Ondrej, > I tried both -- *.cf (or user_prefs) and *.pre -- works OK under right > command-line user amavis, but with amavisd-new it really runs only once -- > on message with "I need to make this message body somewhat long so TextCat > preloads" and to all other messages just put same score.
I'm not sure which difference is affecting you - comparing SA logs could tell. Here are two guesses: If the mail body is the same across several messages (regardless of headers), amavisd may cache and reuse results of spam and virus checks, so perhaps you are seeing this effect. To turn off spam caching you may set to zero config variables $spam_check_negative_ttl and $spam_check_positive_ttl (with later versions of amavisd-new). Plugins may also be affected by the fact that SA is initialized only once in the master process, and each child process then continues with already initialized SA. This is exactly the same as with spamc/spamd, but differs from command line invocations of spamassassin. > It works just fine, but if it helps, i can try new version as well. It probably does not affect your immediate problem, but lots of improvements and new experience went into the product in three years time (and into SA since 3.0.3 to 3.1.7). Some details have changed and collective memory about details on versions you run are gradually fading, so help is scarcer. Developing new plugins for an old version makes you unable to use newly developed mechanisms (API etc), and/or that you re-do your work to make it useful for others running current versions. And a general issue: you wouldn't run a month-old version of a virus checker, so what makes one think that spam and other expoit techniques are not changing as fast as virus scanning engines. Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/