Zimbra Download Junk In Outlook
This is a GLOBAL SETTING so ALL ACCOUNTS and EVERY DOMAIN will do this operation
As zimbra user,
zimbra:~$ zmprov mcf zimbraSpamHeader "" zimbraSpamHeaderValue "" zimbra:~$ zmcontrol stop && zmcontrol start
What command does:
This command modifies general working settings and sets Zimbra Header/Value to null, so when spamassassin with procmail try to intercept messages based on this header they skip the tagged message and it is delivered to inbox instead of junk.
If you log into webmail client you can still see your messages tagged as [***SPAM***] (remember that this tag must be manually entered into Admin GUI ->Global Settings -> AS/AV -> Antispam Control -> Subject prefix) and you could move them manually to junk pressing Junk button or filter anyway you like.
The most important thing is that POP3 users now can see incoming spam messages and filter them locally by subject filtering!
To revert changes[edit]
zimbra:~$ zmprov mcf zimbraSpamHeader "X-Spam-Flag" zimbraSpamHeaderValue "YES" zimbra:~$ zmcontrol stop && zmcontrol
To verify your global spam settings[edit]
zimbra:~$ zmprov gacf|grep -i spam