I have been using canonical_maps for some time to map local addresses, but that doesn't seem to work for incoming mail. The message is coming from another Postfix server with the sender specified with the hostname of the machine....

Jul 6 08:35:34 mx1 postfix/smtpd[54573]: NOQUEUE: reject: RCPT from mail-by2nam03on0136.outbound.protection.outlook.com[104.47.42.136]: 450 4.1.8 <[email protected]>: Sender address rejected: Domain not found; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<NAM03-BY2-obe.outbound.protection.outlook.com>

What methods can be used strip the sub-domain and rewrite [email protected] to [email protected]?

-- Robert

Reply via email to