Leo, > Is there a way to select a different policy bank depending on the client > ip address when using a before-queue setup? > (I know of the example using the FILTER option in postfix lookup tables > but I can't use this to select a different smtpd_proxy_filter.)
Unfortunately it does not (yet) exist. > I was thinking of something like interface_policy that uses > lookup_ip_acl to map an IP-acl to a policy, based on the (XFORWARDed) > client_addr... I have it in mind for some time now. A fudge solution could probably be coined up pretty quickly. For a general purpose solution I would like to extend the lookup_ip_acl (generalized with hash/regexp/sql lookups) to be able to return a result based on the matching IP address. This won't happen for 2.5.0 (not urgent enough), but you are welcome to make something in this direction. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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/
