Re: [AMaViS-user] redirecting mail marked as spam to a "user"

This is a discussion on Re: [AMaViS-user] redirecting mail marked as spam to a "user" within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; On May 1, 2008, at 6:47 AM, Tony Baker wrote: > Mail seems to be working OK, however I ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-01-2008
Jose Hales-Garcia
 
Posts: n/a
Default Re: [AMaViS-user] redirecting mail marked as spam to a "user"


On May 1, 2008, at 6:47 AM, Tony Baker wrote:

> Mail seems to be working OK, however I would like ALL mail that is
> marked as SPAM by the system to be redirected to a "user" mailbox,
> rather than being delivered to the end recipient.


You're correct about directly editing the amavis.conf file, Server
Admin only reveals a limited set of Amavis variables. The consolation
is that you've inherited a UNIX system.

There's a decent reference of the Amavis settings at this location...

http://www200.pair.com/mecham/spam/a...-settings.html

The key area of the page explains what you want to do...

$final_spam_destiny = D_DISCARD;
$spam_quarantine_to = "spams\@$mydomain";
Once a message reaches the score we set in $sa_kill_level_deflt:
the message will not be delivered to its recipient(s), sender will not
be notified. A copy of the mail will go to the email address we
configured here. This "spams" mailbox is our quarantine area for spam.

$sa_tag_level_deflt = undef; Any message that is addressed to a
recipient that is considered local will have X-Spam-Status, X-Spam-
Score and X-Spam-Level headers added. As I said, for this particular
setting, undef is programmed to mean 'lower than any possible score'.

$sa_tag2_level_deflt = 5.0; Mail that scores at 5.0 or above will
have 'Spam> ' prepended the the Subject line. This will only happen if
the mail is considered local and is passed to a recipient (and
$sa_spam_modifies_subj is true). We set $sa_spam_subject_tag = 'Spam>
'; earlier. The X-Spam-Status extra header will change from "No" to
"Yes" and a new 'X-Spam-Flag: YES' header will be added.

$sa_kill_level_deflt = 8.0; This is the level that triggers the
D_DISCARD action we have assigned to $final_spam_destiny and is also
the level at which quarantining occurs (if a quarantine is configured).


Jose

.................................................. ......
Jose Hales-Garcia
UCLA Department of Statistics
jose@stat.ucla.edu




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:06 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0