Ondrej, > > When is Spamassassin called from amavisd-new, allways give examined email > > same score -- CRM114_SPAM_00; after some tries to debug I noticed that > > when amavisd starts, loads crm114.pm as plugin, SA after registering glue > > method for check_crm gets CRM114 score -7.1548, which evals > > CRM114_SPAM_00 and every other email allways gets this score to tests > > summary. > > After some trying I noticed, that amavisd-new calls SA via > Mail::SpamAssassin perl module, that seems like "problem part" -- is it > possible to use external plugins in SA, and if yes, could you please tell > me how?
SA plugins are handled and loaded entirely by SA mechanisms - *.cf files and/or .pre files in the usual SA directory. The mechanism should behave the same, regardless of SA being invoked through amavisd-new or directly, just make sure to do command-line tests as user amavis/vscan. If the code behaves differently, compare SA debug produced by: # amavisd debug-sa to the one produced by: # su vscan -c 'spamassassin -t -D <test.msg' > Could you give me please some hits to debug this problem or > hopefuly to solve it? I'm using Debian 3.1, = amavisd-new 20030616, > spamassassin 3.0.3. Isn't it a waste of time to deal with such old versions? Look at the calendar. Happy New Year! 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 [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/
