I've found a solution for a server with ZCS , but remember this is GLOBAL SETTINGS so ALL ACCOUNT and EVERY DOMAIN will do this operation:
we work as zimbra user
What is this command for:
zimbra:~$ zmprov mcf zimbraSpamHeader "" zimbraSpamHeaderValue ""
This command modify general working settings and set 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!
How to revert:
Warning: zmcontrol stop && zmcontrol start is required to enable modify.
zimbra:~$ zmprov mcf zimbraSpamHeader "X-Spam-Flag" zimbraSpamHeaderValue "YES"
Hope this could help someone like me who needs this operation to be solved as soos as possible :)
PS: You can verify your global spam settings with
clear && zmprov gacf|grep -i spam
That's pretty nice thank you for the tip. Now if only we could set this by domain or even better, by user that would be great !
For that is needed some programmers apply :)
Originally Posted by neyz
Hope this options could be selected in GUI next time because it is important.
Thanks for this one!
Really a nice hack and does exactly what i want. Marks spam as SPAM in subject and keeps the emails in Inbox.
BTW I can't imagine any use case involving pop3 without the option to deliver all mails to Inbox. No one of my customers would accept a scenario where they had to look into the web interface for false positives...
You're welcome :)
IMHO AS/AV is a very understimated feature in ZCS but it is heavy used by customers. Sure, ZCS is not intended for a great deploying, but still if you setup into a little business office this feature is required to work as an email replacement. Nowadays there's still no modules or plugins that could be freely used to implement in ZCS a very nice filtering and AV/AS based rules to distribute and give in final user's hands. This is boring becouse a lot of them are requiring these features, and in GUI frontend, not by cmd line or else... Please Zimbra' Staff, have a look to this if you can, we'll be very pleasant. ;)
Ahhhhrrrggghhh, your cool hack doesn't seem to be working in Zimbra 8.x.
The spam folder is filling up again...
Can you maybe imagine why this is so?
it seems it is still working, have a look @ this:
zimbra@mail:~$ zmcontrol -v
Release 8.0.3.GA.5664.UBUNTU12.64 UBUNTU12_64 FOSS edition.
if those flags are available they could be still nulled ;)
zimbra@mail:~$ zmprov gacf|grep -i spamHeader