Results 1 to 5 of 5

Thread: redirecting SPAM problem.

  1. #1
    dougz is offline Active Member
    Join Date
    Aug 2007
    Posts
    31
    Rep Power
    7

    Default [SOLVED] redirecting SPAM problem.

    Hi,
    I'm new in this forum, and new with zimbra.
    I was installing ZCS and all works fine. But i have just one problem:
    I need to redirect ALL spam mails to another mailbox AND don't deliver to original destinations.

    To do this i was studing a few hours and found something like
    edit /opt/zimbra/conf/postfix_header_checks.in (to replace the "postfix_header_checks" file after restart)
    and paste this rule:
    /^X-Spam-Flag: YES$/ REDIRECT my@mail.com

    but it doesn't WORK!

    PS.: when i restart postfix i receiving this warning:
    postmap: warning: /opt/zimbra/conf/postfix_header_checks, line 6: record is in "key: value" format; is this an alias file?

    i dont know if it's the problem and how do i fix it (and do this redirect) ???


    PLEASE I NEED SOLUTIONS !!

    Thanks
    dougz
    Last edited by dougz; 10-11-2007 at 12:58 PM.

  2. #2
    dougz is offline Active Member
    Join Date
    Aug 2007
    Posts
    31
    Rep Power
    7

    Default

    waiting...

  3. #3
    maerten is offline Awaiting Activation
    Join Date
    Aug 2007
    Posts
    12
    Rep Power
    0

    Default

    I use another method:

    In conf/amavisd.conf.in
    Code:
    $sa_dsn_cutoff_level = 100;
    $sa_quarantine_cutoff_level = 100;
    $final_spam_destiny=D_DISCARD;
    $spam_quarantine_to = 'example@example.com';
    In the Admistration Console set tag and kill percent to the same value.

    Restart anti spam as user "zimbra": zmantispamctl stop; zmantispamctl start


    This tags and kills the spam message. The killed spam message is delivered to example@example.com and not to the user's Junk folder (D_DISCARD). Make sure you set $sa_quarantine_cutoff_level to a high value bacause else the message will not be quarantined and sent to example@example.com

  4. #4
    dougz is offline Active Member
    Join Date
    Aug 2007
    Posts
    31
    Rep Power
    7

    Default

    Quote Originally Posted by maerten View Post
    I use another method:

    In conf/amavisd.conf.in
    Code:
    $sa_dsn_cutoff_level = 100;
    $sa_quarantine_cutoff_level = 100;
    $final_spam_destiny=D_DISCARD;
    $spam_quarantine_to = 'example@example.com';
    In the Admistration Console set tag and kill percent to the same value.

    Restart anti spam as user "zimbra": zmantispamctl stop; zmantispamctl start


    This tags and kills the spam message. The killed spam message is delivered to example@example.com and not to the user's Junk folder (D_DISCARD). Make sure you set $sa_quarantine_cutoff_level to a high value bacause else the message will not be quarantined and sent to example@example.com

    THANKS A LOT maerten.
    it really works here!!
    I set the kill percent and the tag (at admin console) to 10 and 10, and it finally works. =D

    thanks again, you just save my day!!!

  5. #5
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    You can also play with the dsn (delivery status notification) setting-so over a certain level you won't be responding "I got your mail" to the spammers.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Trying to understand Zimbra's anti-spam system
    By TaskMaster in forum Users
    Replies: 11
    Last Post: 01-25-2008, 09:59 AM
  2. spam filter creation problem
    By tarunsood in forum Administrators
    Replies: 0
    Last Post: 11-13-2006, 06:05 AM
  3. weird SPAM problem
    By kjohnson in forum Administrators
    Replies: 6
    Last Post: 08-02-2006, 06:55 PM
  4. Spam tagging problem
    By unilogic in forum Installation
    Replies: 1
    Last Post: 11-30-2005, 10:10 PM
  5. LDAP & spam classification problem?
    By phoenix in forum Users
    Replies: 3
    Last Post: 09-29-2005, 11:37 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
  •