On Mon, Jun 18, 2007 at 07:16:07PM +0200, Sam Przyswa wrote:
> Hi,
> 
> I am new on PolicyD and on this list and perhaps my question was already
> answered a lot time, sorry.
> 
> We have a mail server who received mails for several domain and I would
> like activate PolicyD on only one or two domain, how to do that ?
> 
> Thanks in advance for your reply.

This can be done in Postfix:

in main.cf:

-->
smtpd_restriction_classes = greylist
greylist = check_policy_service inet:127.0.0.1:10031

smtpd_recipient_restrictions =
        ...
        check_recipient_access hash:/etc/postfix/tables/greylist_domains
<--

in greylist_domains table:

-->
greylistme.org          greylist
greylistme.net          greylist
[EMAIL PROTECTED]       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

Reply via email to