Hi

Is it possible to perform a check to see if envelope sender and envelope
recipient are identical (and within a specific domain or, even better,
within a list, e.g. relay_recipients) with postfix check_mumble_access
rules? Following Ralf's hints at www.arschkrebs.de, I can chain sender
and recipient restrictions and check both against the same list of
e-mail addresses (albeit with different actions), but that will match
any pair or addresses, while the requirement is for sender and recipient
to be identical.

I have thought of the possibility of specifying as many restrictions as
there are addresses (check_sender_access address1 &&
check_recipient_access address1 && OK; check_sender_access address2 &&
check_recipient_access address2 && OK; ...), but that seems rather
convoluted..

A regexp table seems attractive, but I wouldn't know how to pass a
matched expression from a check_sender_access to a check_recipient_access.

Any ideas?

Cheers,
Tobias

Reply via email to