Am 2013-06-10 08:43, schrieb Timo Röhling:
Am 2013-06-10 07:13, schrieb j...@soe.se:
I have written a small policy service.
But I whish to not use it for those emails which are rejected. Only
permited emails (permit_mynetworks and permit_sasl_authenticated)
Any ideas?
smtpd_recipient_restrictions = check_policy_service
unix:private/policy,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject
Restrictions are evaluated in order. Move the check_policy_service
statement between reject_unauth_destination and reject.
Disregard that. I missed a "not" in your question. :-)