Dne so 23. prosince 2006 2:24 Mark Martinec napsal(a): > 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.
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. > > [...] > > 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. It works just fine, but if it helps, i can try new version as well. > Happy New Year! && Marry Christmas. ;) -- Ondřej Čečák ------------------------------------------------------------------------- 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/
