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 <u...@other.theirdomain.com>: Sender address rejected: Domain not found; from=<u...@other.theirdomain.com> to=<m...@mydomain.com> proto=ESMTP helo=<NAM03-BY2-obe.outbound.protection.outlook.com>

What methods can be used strip the sub-domain and rewrite u...@other.theirdomain.com to u...@theirdomain.com?

-- Robert

Reply via email to