Wietse Venema:
> Christoph Garst:
> > I decided NOT to write a milter/filter plugin for the following
> > reasons:
> > Forward rewriting has to be done AFTER queuing, in order to
> > distinguish between on-site and off-site recipients.
> 
> I suppose that is one reason why some sites use separate MTAs for
> their inbound and outbound mail. The inbound MTA strips SRS from
> local recipients, and the outbound MTA adds SRS to local senders.

I looked at the patch, and the approach taken there is limited to
MTAs that perform final delivery (the decision to un-SRS the recipient
is hard-coded for final delivery only). That is a major limitation.

This does not work on a mail gateway configuration, where Postfix
is a transit MTA that handles mail on behalf of one or more internal
MTAs. Transit MTAs don't perform final delivery - that is done by
the internal MTAs (Postfix-in-front-of-Exchange being one example).

On the other hand, when mail authentication is designed so that it
is not limited to final-delivery MTAs, then the solution becomes
scalable.

I would rather provide hooks that allow Postfix to co-exist with
mail authentication systems, than hard-code those systems into the
core MTA.  By the time the hard-coded version finally ends up in
binary distributions (years!), the code is already obsolete.

        Wietse

Reply via email to