Results 1 to 5 of 5

Thread: Client does NOT want a junk folder

  1. #1
    Join Date
    Jun 2007
    Posts
    86
    Rep Power
    8

    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?
    Last edited by rwcanary; 01-09-2010 at 01:44 PM. Reason: Splng err
    Robert Canary
    OCDirect Electrical-Datacomm

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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! *

  3. #3
    Join Date
    Jun 2007
    Posts
    86
    Rep Power
    8

    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

  4. #4
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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).

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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

Similar Threads

  1. 'Couldn't access Yahoo! Zimbra Desktop server"
    By chirag1 in forum Error Reports
    Replies: 37
    Last Post: 06-12-2011, 05:14 PM
  2. Can no longer start desktop
    By foobaz in forum General Questions
    Replies: 12
    Last Post: 04-02-2010, 04:06 PM
  3. .pst migration issues
    By jimklein in forum Migration
    Replies: 13
    Last Post: 02-16-2009, 12:55 AM
  4. Error when Using Outlook PST Importer
    By chh in forum Zimbra Connector for Outlook
    Replies: 1
    Last Post: 01-19-2009, 04:20 AM
  5. Replies: 3
    Last Post: 08-11-2007, 12:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •