Hi, Does anyone knows if i can set defang spam only if the mail comes from some policy bank?
Thanks Nuno Fernandes On Friday 11 July 2008 17:27:51 Nuno Fernandes wrote: > Hi, > > Is it possible to define defang_maps_by_ccat in the policy back? > > I want to have something like: > > $policy_bank{'DEFANG'} = { # those configured to send mail to port 10026 > %{$policy_bank{'DEFAULT'}}, > defang_spam => 1, > log_level => 5, > defang_maps_by_ccat => { +CC_SPAM => [ 'attach' ] } , > }; > > > So that all mails marked as spam get defang using the attach method.. > If i put the conf outside the policy bank it works fine. > > $defang_maps_by_ccat{+CC_SPAM} = [ 'attach' ]; > > But i want it to be only in the DEFANG policy bank.. > > Any ideas? > Thanks > Nuno Fernandes > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > AMaViS-user mailing list > AMaViS-user@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/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list AMaViS-user@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/