Max, > I found a solution that works as I whish.
Good. > 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 SA could in principle assign more than 999 score points to blacklisted address from mail header, so to be absolutely sure to deliver, just set spam lovers to true for these recipients, and spam_quarantine_to to an empty string. In this case the kill level can be arbitrary value (above or same as tag2 level). > SEND via SQL spam_tag2_level=7, > spam_kill_level=7, spam_quarantine_to=something Ok. > No quarantine > spam_tag2_level=7, spam_kill_level=7, spam_quarantine_to=empty string Ok. > 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; You could do without modifying amavisd. Postfix virtual alias mapping using regexp could be used to rewrite [EMAIL PROTECTED] to [EMAIL PROTECTED] An example by the end of the chapter on plus addressing illustrates it: http://www.ijs.si/software/amavisd/amavisd-new-docs.html#addrext In your case it could be: /^(.*)[EMAIL PROTECTED]/ [EMAIL PROTECTED] Mark ------------------------------------------------------- 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/
