Mark Martinec:
Max,

I upgrade from 2.4.0 to 2.4.1 and is using SQl for lookups.
Can I have spam for one domain stored in SQL quarantine and spam for an
other domain sent to a different mailbox example [EMAIL PROTECTED]

You can't have multiple quarantine methods at the same time currently.

What you can do is let SQL be a common quarantine mechanism, but for those users that would prefer to receive high-score mail into their mailbox, configure them to be spam lovers, and let amavisd append address extensions (at tag2 level) which will reroute such mail to wherever you tell your MTA to; and disable global (SQL) quarantine for them.

In 20030616.p9 I have the field spam_quarantine_to in SQL set to
/dev/null and spam_kill_level=10 for domain1.com

Writing to /dev/null is a waste, there is a better way to turn off quarantine
for certain users/domains: just set spam_quarantine_to to empty string or undef.

  Mark

Hi and thanks Mark

I found a solution that works as I whish.
Now can I have sql-quarantine for some domains and forward spam to [EMAIL PROTECTED] for others based on addr_extension_spam in the sql policy table and no quarantine if i like to.

FWD via SMTP  spam_tag2_level=7, spam_kill_level=999, addr_extension_spam=spam
SEND via SQL  spam_tag2_level=7, spam_kill_level=7, spam_quarantine_to=something
No quarantine spam_tag2_level=7, spam_kill_level=7, spam_quarantine_to=empty 
string

In amavisd.conf I set
$spam_quarantine_method         = 'sql:';
@addr_extension_spam_maps       = undef;
$recipient_delimiter = '+';

And in amavisd at line 8426
-  my($new_addr) = $localpart.$delim.$ext.$domain;
+  my($new_addr) = $ext.$domain;


Max



-------------------------------------------------------
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/

Reply via email to