Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-09-2010, 01:43 PM
Loyal Member
 
Posts: 76
Default Client does NOT want a junk folder

I have client who does not want Junk mail sent to the junk folder.
I don't see how I can change this, is there not a Junk control setting somewhere, where you tell it where to put the junk mail. Not Globally just per user. If not how would I get the tagged junk mail to revert back to the inbox folder?
__________________
Robert Canary
OCDirect Electrical-Datacomm

Last edited by rwcanary; 01-09-2010 at 01:44 PM.. Reason: Splng err
Reply With Quote
  #2 (permalink)  
Old 01-10-2010, 12:31 AM
Moderator
 
Posts: 7,928
Default

Hmmm, this is a tricky one and does come up quite often. The only way I can think of doing it; without completely disabling AS for that user would, would be to use Amavis Policy Banks. Something like this:

/opt/zimbra/conf/amavisd.cf.in
Code:
$inet_socket_port = [10024, 10026]; # Add new listener port

$interface_policy{'10026'} = 'NOJUNK'; # Add no headers

$policy_bank{'NOJUNK'} = {
   $sa_tag2_level_deflt = 9999; # controls adding 'X-Spam-Flag: YES', and editing Subject,
};
Add into Postfix
------------------
header_checks = regexp:/opt/zimbra/postfix/etc/amavis_bypass

/opt/zimbra/postfix/etc/amavis_nojunk:
Code:
/^To: x@y.com/ FILTER smtp-amavis:[127.0.0.1]:10026
This would mean user x@y.com would get the SPAM score headers but the subject and the flag which Zimbra uses to file messages to Junk would not be added. * Have not tried this! *
__________________
Reply With Quote
  #3 (permalink)  
Old 01-10-2010, 03:44 PM
Loyal Member
 
Posts: 76
Post

That would work, except they won't the JUNK tag, they just don't want it going to the JUNK folder.

I tried creating a filter to catch anything with JUNK in the subject and leave it in the in-box folder. But apparently ZCS stores directly to the JUNK folder and it never hits the in-box.

Other option would be to have a filter on the JUNK folder, but I haven't found a way to accomplish that either.
__________________
Robert Canary
OCDirect Electrical-Datacomm
Reply With Quote
  #4 (permalink)  
Old 01-10-2010, 04:23 PM
Moderator
 
Posts: 6,237
Default

zmprov ma user@domain.com zimbraSpamApplyUserFilters TRUE then a special filter for subject tag or x-header.

Might file an RFE for disabling use of the junk folder / just hiding it in the UI (but still keeping anti-spam on for the user).
Reply With Quote
  #5 (permalink)  
Old 01-11-2010, 01:10 AM
Moderator
 
Posts: 7,928
Default

Quote:
Originally Posted by rwcanary View Post
That would work, except they won't the JUNK tag, they just don't want it going to the JUNK folder.
It will only add the headers ... the subject will not be modified and it will not be moved into the Junk folder; thought that is what was wanted
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.