I'm working on a generic postfix configuration for servers. I want messages to have a From: address of <user>@<server fqdn>, but an envelope-sender/bounce address that's different.
in main.cf: canonical_maps=hash:/etc/postfix/canonical canonical_classes = envelope_sender in canonical: @<server fqdn> <some other address> Messages sent from this server have the right envelope-sender (rewritten), but the header From: is also rewritten (as if canonical_classes is being ignored). What am I missing? Is there a different way I should be doing this?