Christophe wrote:
> Hello ( From France)
> I use amavis-new-2.4.3 on a classic postfix-linux box, all SPAM are well
> tagged and combination with DCC, razor, and pyzor works fine too
> My question :
> My local_domain users wants to have SPAM tagged and relayed to their
> mailbox, So I use D_PASS with amavis to do so, all works fine.
> BUT :
> Some of my users wants their mails to be forwarded to a non-local
> adress, I use postfix canonical_maps to do this, and they don't want
> SPAM relayed in their mailbox.
> How can I delete mails tagged SPAM for this users ? I precise this users
> appear in a file (postfix canonical_maps) ?
> Thanks for your help,
> Christophe Dumonet.
I assume you are not using SQL or LDAP.
$final_spam_destiny = D_DISCARD;
$sa_kill_level_deflt = 9999;
@spam_kill_level_maps = (
{ '[EMAIL PROTECTED]' => 8.0,
'[EMAIL PROTECTED]' => 8.0, },
\$sa_kill_level_deflt, # catchall default
);
@spam_quarantine_cutoff_level_maps = (
{ '[EMAIL PROTECTED]' => 8.0,
'[EMAIL PROTECTED]' => 8.0, },
\$sa_quarantine_cutoff_level, # catchall default
);
If you have configured a spam quarantine, passed spam above your
current kill_level would be quarantined, but setting the kill_level
this high means *that* would no longer happen (which maybe a good thing,
since you are passing the spam anyway). If you are not quarantining spam,
then the @spam_quarantine_cutoff_level_maps is not necessary. If you
are quarantining spam, then another option is to hold some of the low
scoring spam for those that are deleting their spam by setting
@spam_quarantine_cutoff_level_maps to a higher value. The recipient
addresses are whatever the envelope recipient addresses are, either
the original address, or the rewritten address, whichever amavisd-new
actually sees (depends on when address rewriting takes place).
Gary V
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/