On Sat, Jun 16, 2007 at 12:41:12PM -0400, Chris Covington wrote: > I've been using policyd since July 2005 and it's been the best thing > since sliced bread for us. I would like to make a feature request (or > perhaps this can be configured without changing policyd). I would > like to, for domains which require very quick responses, greylist only > some hosts: like those that match a dynamic regex or are 'unknown' to > postfix.
This can be achieved with Postfix access(5) maps and restriction classes: in main.cf: --> smtpd_restriction_classes = greylist_some greylist greylist_some = check_client_access hash:/etc/postfix/tables/greylist_clients greylist = check_policy_service inet:127.0.0.7:10031 smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/tables/greylist_domains <-- in greylist_domains table: --> slow_domain1.com greylist slow_domain2.net greylist quick_domain1.com greylist_some quick_domain2.org greylist_some <-- in greylist_clients table: --> unknown greylist pppoe.mtu-net.ru greylist ... <-- Geert ------------------------------------------------------------------------- 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/ _______________________________________________ policyd-users mailing list policyd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/policyd-users