Results 1 to 4 of 4

Thread: [SOLVED] Spamassassin per-user bayes training

  1. #1
    garyo is offline Active Member
    Join Date
    Sep 2008
    Location
    Cambridge, MA
    Posts
    41
    Rep Power
    6

    Default [SOLVED] Spamassassin per-user bayes training

    Does ZCS keep a per-user spam/ham bayes db?

    If not, I'd like to make it do that. It gives much better results since it fine-tunes the token set each user is likely to get.

    In our spamassassin frontend where we run spamd, I currently execute spamd like this:
    /usr/sbin/spamd --create-prefs -u mailuser -x -l --max-children 5 --helper-home-dir --virtual-config-dir=/etc/spamassassin/userprefs/%l -d

    This creates and uses per-virtual-user userprefs (including bayes dbs) in /etc/spamassassin/userprefs. I'm not yet sure how to make Zimbra do this. Maybe it invokes SA from amavisd.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Currently this bug is for spamassassin user prefs: Bug 3870 – per user Spam Assassin score
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    garyo is offline Active Member
    Join Date
    Sep 2008
    Location
    Cambridge, MA
    Posts
    41
    Rep Power
    6

    Default

    Got it. Related question: where does Zimbra invoke amavisd? Maybe I can just patch a call to spamd in there.

  4. #4
    garyo is offline Active Member
    Join Date
    Sep 2008
    Location
    Cambridge, MA
    Posts
    41
    Rep Power
    6

    Default

    Found out where amavisd comes in: it's invoked as a filter MTA directly from postfix. So there's no way to hook spamd in there. But, there's really little reason to need to -- amavisd is pretty clever. It only runs SA once per mail even if there's more than one recipient, and it keeps the SA perl mods in memory so it's as fast as spamd. It's just confusing to an experienced postfix/procmail/SA admin like me at first. I think amavisd will have to be enhanced to allow per-user bayes db training, I doubt Zimbra can do it itself with the current architecture.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •