Piotr Rotter:
> I have a mail system based on postfix amavisd spamassassin clamav. I
> wanted to e-mail that come from the outside were filtered before queue.
> I tried to use smtpd_proxy_filter but encountered a problem.
> 
> When I use the content_filter, postfix sends mail to amavis after using
> virtual_alias_maps, so sends to the target mailbox.
> 
> When I use smtpd_proxy_filter, postfix sends mail to amavis with the
> same RCPT TO he got from the client.

This is necessary, because the after-filter SMTP server may reject
a recipient. Thus, number of recipients must match what the client
sends. Additonally the recipients should be the same, otherwise a
"reject" response would not make sense.

        Wietse

Reply via email to