[AMaViS-user] Different final_spam_destiny settings for different domains

2009-01-08 Thread traced
Hi there, I tried to user different final_spam_destiny settings on multiple domains, but it seems not to work. What I tried before: $final_spam_destiny = { ".domain1.com"=>"D_PASS", ".domain2.com"=>"D_PASS", "."=>"D_REJECT" }; But these settings are totally ignored by

Re: [AMaViS-user] Implementing sendmail-style masquerade and genericstable in amavisd

2009-01-08 Thread Cyrus Rahman
As it does not appear that the list has preserved the patch attachments (at least on the sourceforge web page), I am also including them in this followup message. patch-amavisd-masq: --- /src/amavisd.orig2009-01-07 21:53:32.0 -0500 +++ /src/amavisd 2009-01-08 13:20:02.0

[AMaViS-user] Implementing sendmail-style masquerade and genericstable in amavisd

2009-01-08 Thread Cyrus Rahman
It's important to be able to re-write local sender and recipient addresses according to network layout, and sendmail provides this functionality in its masquerade and genericstable rulesets. These can be cumbersome but they work. However, because sendmail re-writes the address after the (input!)

[AMaViS-user] [Amavis::Custom] Do not quarantine spam messages - Was: Re: [Amavis::Custom] : Unable to block mail after amavis results

2009-01-08 Thread Lucas Vianna
On Wed, Jan 7, 2009 at 6:49 PM, Mark Martinec wrote: > David, > >> *** Amavis send to recipients has Passed BANNED ! > > Similar to my previous example, but this one shows > how to block mail as banned: > > sub checks { > my($self,$conn,$msginfo) = @_; > > for my $r (@{$msginfo->per_recip_data})