Hello, We've got a UPS device that sends out mails where the from in the body does not contain a valid email address, only a name. The device sends mails pretty much like this:
-------------start---------------------- Return-path: <[email protected]> Received: from [10.44.31.123] (helo=) by ourmailgateway.ourdomain.com with smtp (Exim 4.84) (envelope-from <[email protected]>) id 1XPS9w-00038u-Ge for [email protected]; Thu, 04 Sep 2014 10:12:48 +0200 Date: Thu, 04 Sep 2014 10:12:48 +0200 Message-Id: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 From: SOCOMEC UPS Mail Service To: [email protected] Subject: some subject some mail body -------------end---------------------- The problem is that oursmsgateway, on which we have little influence, does not accept the mail because the from in the body (SOCOMEC UPS Mail Service) is invalid. The UPS does not allow us to change this 'address' as far as we can see. I have tried rewrite rules like this: ^SOCOMEC\.*\$ [email protected] EhS which does not work, I assume because it would only affect the MAIL FROM: at the start of the SMTP conversation, not the email body. And also: [email protected] [email protected] Eh But this doesn't work either (I assume because valid.email is not in the from: in the body. Is there a way to have exim change the email body from if it does not contain an email address, only a name? Kind Regards, Jan Keirse -- **** DISCLAIMER **** http://www.tvh.com/glob/en/email-disclaimer "This message is delivered to all addressees subject to the conditions set forth in the attached disclaimer, which is an integral part of this message." -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
