Hi,

I have a blackbox UPS that send this email when I look at it with postcat

*** MESSAGE CONTENTS deferred/B/BFE60169 ***
regular_text: Received: from loki.nsd.org (ups-tms.nsd.org [10.145.1.25])
regular_text:   by sys.nsd.org (Postfix) with ESMTP id BFE60169
regular_text:   for <[email protected]>; Wed, 16 Jan 2019
15:24:32 -0800 (PST)
regular_text: Subject: TMS MDF ALARM USHA Test Message
regular_text: From: <[email protected]>
regular_text: To:
[email protected]<[email protected]>

Notice that there is no space between nsd,org and <g.emergen...>  When I
try to forward this email to O365, O365 scrambles the email into:

[email protected]

and refuses to deliver it as that address doesn't exist.  I tried a
regexp:/etc/postfix/virtual map:

main.cf:
virtual_alias_maps = regexp:/etc/postfix/virtual

postmap -q
"[email protected]<[email protected]>"
regexp:/etc/postfix/virtual
[email protected] <[email protected]>


that adds in the space, but it does not seem to be working on the
regular_text part of the email.

Any ideas on how I can get postfix to rewrite that part of the email so
I can forward it on to O365.

Thanks very much for your help.

cheers,

ski

-- 
"When we try to pick out anything by itself, we find it
  connected to the entire universe"            John Muir

Chris "Ski" Kacoroski, [email protected], 206-501-9803

Reply via email to