William,

> It is possible to insert into my LDAP directory the $banned_filename_re
> part of amavisd.conf ? I want to read ALL the rules from LDAP, not from the
> amavisd.conf file...

Well, you can use the LDAP attribute 'banned_rulenames' to provide
one (or more, comma-separated) *names* of banning rules. These
names are then mapped to actual banning rule lists through an
associative array (perl hash) %banned_rules.

See RELEASE_NOTES, search for %banned_rules.

You cannot load actual rules (perl regular expressions) dynamically.
Lists of banning rules must be pre-configured.

  Mark

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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