Andre Nathan:
> On Tue, 2012-08-14 at 15:36 -0400, Wietse Venema wrote:
> > How is this supposed to work with external content filters, such
> > as before-queue filters (smtpd_proxy) or post-queue filters
> > (amavisd-new over SMTP, and pipe(8)->filter->sendmail(1) over UNIX
> > pipes)?
>
> The tag would always be added by the program that injects the message
> into the queue.
>
> In the example above, the last step in the chain would add the tag,
> which means the smtpd instance that receives the message from the
> content filter would set the tag.
Many sites have external content filters as described above.
1 - Postfix receives mail from the network with the Postfix SMTP
server. This may be an original submission or not. Or, Postfix
receives mail with the Postfix sendmail command. This may also
be an original submission or not.
2 - Postfix sends the mail through the filter via the Postfix SMTP
client or via the pipe(8) delivery agent. The filter sees the
original recipients; virtual aliasing happens after the filter.
3 - Postfix receives a perhaps modified message from the filter via
the Postfix SMTP server or via the Postfix sendmail command.
4 - Postfix does some virtual alias expansions on recipients, and
then it delivers the message to local or remote recipients.
How should SRS work in this configuration?
Wietse