Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

320 views
Skip to first unread message

Tony Baker

unread,
May 1, 2008, 9:49:07 AM5/1/08
to
Hi !

I have inherited a Apple Intel Xserve running MacOSX server 10.5.2.

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.

Can anyone tell me how to achieve this.
I believe from looking through the system files that I should amend
amavisd.conf, but I am unsure how to make the change.

Any help would be appreciated

Tony

-------------------------------------------------------------------------
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;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
AMaViS-user mailing list
AMaVi...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Jose Hales-Garcia

unread,
May 1, 2008, 10:32:50 AM5/1/08
to

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/amavisd-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
jo...@stat.ucla.edu

0 new messages