* mig <[email protected]>:
> Hello, 
> 
> I wrote a policy server (that do RBL checks and dynamically disable slow RBL 
> servers). I supposed the right place is the smptd_client_restrictions:
> 
> smtpd_client_restrictions =
>     check_policy_service unix:/opt/mailfilter/client_restrictions
> smtpd_helo_required = yes
> smtpd_recipient_restrictions =
>    reject_invalid_hostname,
>    reject_unauth_pipelining,
>    reject_non_fqdn_sender,
>    reject_unknown_sender_domain,
>    reject_non_fqdn_recipient,
>    reject_unknown_recipient_domain,
>    permit_sasl_authenticated,
>    permit_mynetworks
> 
> Unfortunatelly it doesn't work as expected. The policy is not executed when a 
> client connects, but on each RCPT TO.

postconf |grep delay_reject

-- 
Ralf Hildebrandt
Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
http://www.computerbeschimpfung.de
Postfix: Something like a wisened old man sitting on the porch outside
the postoffice. Looks at everyone who passes by with deep suspicion,
but turns out to be friendly and helpful once he realises you're not
there to rob the place.   

Reply via email to