On Tue, 11 Apr 2006, Les Mikesell wrote:
If you use the masquerade feature you can only have one masquerade_as target. Using the generics feature you can rewrite outgoing mail differently.
I hadn't used the generics table until recently. I wrote up a skeletal howto and use case; it may be of some help:
Or, if you can make sure everyone sets their own correct 'From:' address in their own mail client settings you can turn off the masquerade_as.
For us, the trick wasn't so much for mail sent from a well behaved mail client as much as it was from application-generated mail on the local machine.