Joris (ideeel):
> Now the remaining problem is that ,even with SMTP-auth, the MAIL FROM
> username sometimes is still apache. I know gmail rewrites the envelope
> sender and the header sender based on the login name, but i have not
> been able to find how to do this in postfix (canonical_classes does not
You can use the reject_sender_login_mismatch feature to enforce
that each SASL login uses its own unique emvelope sender address.
During the transition, use:
warn_if_reject reject_sender_login_mismatch
to find out which apps aren;t using the proper sender address.
Otherwise, as Victor says, this requires external code (content
filter or milter).
Wietse