[email protected]:
> what i would love is more than one lookup key like specify a action for
> a pair "sender rcpt action" what would it make really easy do define
> whitelists and blacklists in access tables
>
> @postfix.org @rhsoft.net OK
> @example.org @rhsoft.net REJECT
> [email protected] [email protected] REJECT
Perhaps 18 years from today the coin will drop again. But I do not
expect that Postfix will ever have multi-key tables.
More practical would be a lookup key generator whose output is piped
into a single-key lookup table:
/etc/postfix/main.cf:
smtpd_mumble_rerstrictions =
...
pipemap:{makekey:{sender|recipient}, hash:/etc/postfix/access}
...
/etc/postfix/access:
xxx|yyy reject...
This could result in a lot of queries (sender with/without domain
with/without address extension, and recipient with/without domain
with/without address extension).
Wietse