here's what i've found:
when user clicks "Junk" buttom, system will file such item to Junk folder and also send such email (as an eml format) to spam.xxxx@domain (which is created when installation).
every night (11:00PM), zmtrainsa is run by zimbra user to extract emails from this accounts (spam.xxxx and ham.xxxx) into eml format and then send to Spamassassin for learn.
at 11:45PM, zmtrainsa is running again with "--cleanup" option to clean mailboxes for spam.xxx and ham.xxx users.
because we have our own spam gateway, thus we can modify the zmtrainsa script to forward such spam or ham emails to it for further processing.
by the way, in our environment, we disable "anti-spam" service , and don't worry, this will not cause any impact to "zmtrainsa". |