Hi On Tue, Sep 30, 2014, at 10:57 AM, John Hardin wrote: > > http://wiki.zimbra.com/wiki/Zimbra_MTA#Anti-Spam_Training_Filters > > Okay, since it's a packaged solution most of my concerns don't apply. I > would assume Zimbra would internally be Doing the Right Thing.
Which is primarily why I use it! > Did you run the above as user zimbra? This time it is, su - zimbra $ /opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 1150 0 non-token data: nspam 0.000 0 19454 0 non-token data: nham 0.000 0 120765 0 non-token data: ntokens 0.000 0 1406392641 0 non-token data: oldest atime 0.000 0 1412093524 0 non-token data: newest atime 0.000 0 1412053284 0 non-token data: last journal sync atime 0.000 0 1412058024 0 non-token data: last expiry atime 0.000 0 5529600 0 non-token data: last expire atime delta 0.000 0 1575 0 non-token data: last expire reduction count > You might want to verify the "nspam" and "nham" numbers change as you feed > in messages for training. Hm. I resubmitted a bunch that'd been trained, and saw no change /opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 1150 0 non-token data: nspam 0.000 0 19454 0 non-token data: nham 0.000 0 120765 0 non-token data: ntokens 0.000 0 1406392641 0 non-token data: oldest atime 0.000 0 1412093524 0 non-token data: newest atime 0.000 0 1412053284 0 non-token data: last journal sync atime 0.000 0 1412058024 0 non-token data: last expiry atime 0.000 0 5529600 0 non-token data: last expire atime delta 0.000 0 1575 0 non-token data: last expire reduction count Not sure if that's because they ALREADY were trained, or something's broken, or both. Doing it manually, outside of zimbra, I exported to text, then re-submitted 15 messages /opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --dump magic /opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --no-sync --spam /opt/zimbra/TEMP/spam/* Learned tokens from 15 message(s) (15 message(s) examined) /opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --sync bayes: synced databases from journal in 1 seconds: 2189 unique entries (2189 total entries) Now appears to have changed /opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 1165 0 non-token data: nspam 0.000 0 19454 0 non-token data: nham 0.000 0 121612 0 non-token data: ntokens 0.000 0 1406392641 0 non-token data: oldest atime 0.000 0 1412100978 0 non-token data: newest atime 0.000 0 1412100993 0 non-token data: last journal sync atime 0.000 0 1412058024 0 non-token data: last expiry atime 0.000 0 5529600 0 non-token data: last expire atime delta 0.000 0 1575 0 non-token data: last expire reduction count