binoy wrote:
> hi,
> my first message to the list. This might be RTFM but here goes.
>
> I'm setting up a postfix smtp only server. I wanted to restrict
> 1. IP's that can send through the server.
> 2. the number of emails that can be sent via a Ip per hour.
>
> for (1) I added the allowed IP's to mynetworks and it kinda works,
> sending from other ip's gives a relay error
>
> for (2) I decided to implement policyd. the service is running on the
> port, however i am lost at the configuration of postfix. README
> mentions the following
> smtpd_recipient_restrictions =
> reject_unauth_destination
> reject_unlisted_recipient
> check_policy_service inet:127.0.0.1:10031
Add permit_mynetworks after this line.
This will allow all emails to be checked by the policy server first,
then allowed to send by the permit_mynetworks.
smtpd_recipient_restrictions =
reject_unauth_destination
reject_unlisted_recipient
check_policy_service inet:127.0.0.1:10031
permit_mynetworks
john beaver
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/policyd-users