Hi, The two options I've seen for implementing SRS are milter and [sender_]canonical_maps but it seems to me that neither are a good fit when rewriting the envelope From as they happen early on (smtpd and cleanup specifically) and before Postfix knows where the mail is going.
That's a bit of a problem as rewriting the sender only makes sense if the mail is being sent over SMTP (and even then, it would be great to have more control as it is not always desirable). Looking for another option, the closest seems to be smtp_generic_maps except that it rewrites both envelope and header Froms. I suspect this could easily be adjusted with a new smtp_generic_classes parameter (similar to [sender_]canonical_classes) ?
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org