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 08-24-2007, 01:55 PM
Active Member
 
Posts: 31
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 01:58 PM..
Reply With Quote
  #2 (permalink)  
Old 08-26-2007, 12:55 PM
Active Member
 
Posts: 31
Default

waiting...
Reply With Quote
  #3 (permalink)  
Old 08-27-2007, 01:38 AM
Awaiting Activation
 
Posts: 12
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
Reply With Quote
  #4 (permalink)  
Old 08-27-2007, 07:27 AM
Active Member
 
Posts: 31
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!!!
Reply With Quote
  #5 (permalink)  
Old 08-27-2007, 08:00 AM
Moderator
 
Posts: 6,236
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.
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.