Alexei Troussov wrote:
[snip]
PS
I've been reading Postfix docs again about "smtpd_client_restrictions"
options and
noticed that there is no "check_recipient_access", but
"check_client_access" instead.
In th default postfix config (smtpd_delay_reject=yes), client, helo,
sender and recipient restrictions are performed at the RCPT TO stage, so
they all support all the checks that can be used in
smtpd_recipient_restrictions.
anyway, don't use FILTER in a check_recipient_access call. this will not
work as intended in the case of multi-recipient mail (one message gets
one filter. if you skip filtering for one user, a spammer who can
guesses the user address will simply add it as the last recipient and he
can spam all your users).
So I tried to rename that option to "check_recipient_access".
that should work too as far as the map has the same content (/./
FILTER ...), but as said above, this is better avoided. since you want
per client filtering, use check_client_access.
> [snip]