Daniel L. Miller a écrit :
> I would like to have a policy server checked in
> smtpd_recipient_restrictions - but only if a previous permit_* check is
> true.  Can I do this without coding the check within the policy server?
> 
> Right now I have my standard smtpd_recipient_restrictions:
> smtpd_recipient_restrictions =
>    reject_unknown_recipient_domain,
>    reject_unverified_recipient,
>    permit_sasl_authenticated,
>    permit_mynetworks,
>    reject_unauth_destination,
>    permit
> 
> I would like to have the policy service executed if either
> permit_sasl_authenticated or permit_mynetworks is true.
> 


permit_mynetworks can be replaced by a check_client_access.

for permit_sasl_authenticated, you'll have to check that in your policy
server.

What problem are you trying to solve?

PS. It is better to use port 587 (submission) for mail submission.

Reply via email to