Micha? ?omnicki wrote:
"Yes" because you can use MySQL for a lookup table.
http://www.postfix.org/mysql_table.5.html
"No" because I don't believe you can lookup the sender AND recipient
at once for this kind of check. For that you need a policy server.
"No" because postfix can pass only one argument to where condition?
Isn't it possible to pass multiple arguments? I'm just curious,
solution with policy server satisfies me.
Native postfix lookup mechanisms are based on single key
lookups, ie. check_sender_access uses only the sender address
as the key. Limited combinations can be pre-defined using
smtpd_restriction_classes, but that quickly gets unmanageable.
The policy server interface is provided for more complex
restriction requirements.
-- Noel Jones