On 2/17/2017 12:53 PM, Marek Kozlowski wrote: > When smithj authenticates via SASL to my server and sends e-mail from > `smi...@something.com' locally or remotely I'd like to replace it to > `j.sm...@sth.com'. But if mail form `smi...@something.com' is received > from remote SMTP hosts any address changes should NOT be applied.
Excellent, yes canonical_maps is what you need, but you'll need to limit the scope to submission. See Viktor's reply for how to do that. Come back if you have any questions. -- Noel Jones