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/

Reply via email to