I've added the following to salocal.cf.in:
and called zmamavisdctl restart as listed in the wiki. (__THEBAT_MUA is defined in the stock spamassassin rules.) My rules are either incorrect or not being called by zimbra. I've tested the rules with a sample email on a different install of spamassassin so I could use the --lint -D options and see what it was doing. This rule works with a standalone spamassassin.
rawbody BLOGSPOT_**** /Real Men!.*Girls!.*blogspot\.com/i
describe BLOGSPOT_**** blogspot **** emails
score BLOGSPOT_**** 2.0
meta BLOGSPOT_BAT_**** (BLOGSPOT_**** && __THEBAT_MUA)
score BLOGSPOT_BAT_**** 5.0
Any ideas? Is "zmamavisdctl restart" not enough? salocal.cf was updated with the contents of my ".in" file.
The rules are working, but do not seem to be applying when the email is sent to an alias.
The rules are working fine. The email I had forwarded me was from before I had applied the rules!