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. |