Mail Filter Order
Does anyone know the order in which mail filters are applied by ZCS? For instance, we have a user who is seeing all (ham) mail from a particular domain entering his Junk folder. He uses a mail client and so training isn't very convenient for him. I helped him create a user-level rule that identified these messages and the action was "Leave in Inbox", with the "Do not process additional filters" option checked.
Still, however, the messages are moved to his Junk folder.
Are junk mail filters processed before a user's filters are applied?
In ZCS 5.0.1 and earlier, user filters were run before the spam filter check was run. This meant that if the user filtered mail into a folder, spam would not be identified and sent to the Junk folder.
Beginning with 5.0.2, spam check is completed first and messages identified as spam are moved to the Junk folder. With this change, users cannot write a filter to move false positive spam out of the Junk folder.
A) If you prefer ZCS 5.0.2+ to use the spam filter function as it works for 5.0.1 and earlier, you can set the zimbraSpamApplyUserFilters option to True.
This can be done by COS:
zmprov mc COSname zimbraSpamApplyUserFilters TRUE
or for individual accounts:
zmprov ma email@example.com zimbraSpamApplyUserFilters TRUE
B) You can create a spam white list for individual accounts that allows an account to identify email addresses that should not be marked as spam: zmprov ma firstname.lastname@example.org +amavisWhiteListSender email@example.com
RFE to bring this into the end-user UI: Bug 6953 - Per user white & black lists in the UI
Thanks for the information!
Quick clarification regarding option #2 above: can the "firstname.lastname@example.org" be wildcarded, like "*@example.com"?