Dnia 12.08.2022 o godz. 13:23:25 Dominik George pisze:
> 
> now that I have moved alias expansion to a socketmap service, I was
> wondering what would be best for policy checks (for now, as simple as
> "is address A allowed to send to address B?).
> 
> This os obviously possible using the milter, but then there is
> Postfix' SMTP Access Policy Delegation.
> 
> When would I choose one over the other?

By the way: does anybody know of a tool ready to use with Postfix, that
does exactly this and only this, ie. allows to define sender/recipient pairs
that are (with "default deny") or aren't (with "default allow") allowed to
send mail to each other?

I know this can be done using eg. MIMEDefang and writing appropriate filter
function for it, but this is like using a cannon to shoot down a fly.
Something as simple as check_recipient_access, but where you can use a
lookup table containing both sender and recipient addressses, would be an
ideal solution.
-- 
Regards,
   Jaroslaw Rafa
   r...@rafa.eu.org
--
"In a million years, when kids go to school, they're gonna know: once there
was a Hushpuppy, and she lived with her daddy in the Bathtub."

Reply via email to