OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Use of policyd

From: Alejandro Cabrera Obed (acabrerasintys.gov.ar)
Date: Thu Jul 26 2007 - 13:38:23 CDT


Dear people, I want to use policyd in order to set up message size
limits to my virtual domain mail users. I installed postfix-policyd,
configured postfix-policyd.conf for sender throttling, setup de throttle
table from mysql with users/message_sizes but I don't know how to set up
the main.cf from postfix.

In my actual main.cf I have:

smtpd_recipient_restrictions =
        check_recipient_access hash:/etc/postfix/access
        check_policy_service inet:127.0.0.1:10031
        permit_mynetworks
        reject_unauth_destination

What rules do I have to add in the smtpd_recipient_restrictions and in
which order ???

Thanks !!!

alejandro