Ok, Here ya go...

For this customer of mine, I am scanning all their email for spam and viruses 
and then forwarding the email to their Exchange server.

It appears when Microsoft's Office 365 Exchange servers find an attachment in 
the email, they are adding a header:

x-microsoft-exchange-diagnostics: 
1;CO1PR04MB554;5:uIPmx3dm3PK/UJjiWJfcZKKgooCYjfXMN/RlsoZaA9l50T3ppyfEZL7hV0/b9lb2ameTAtuhrpdbSvHbPrOz6rkwXwybtN0NfVio9xbvrCXGemr4ElqtHO7qnlQgSVNFfs7pQvr3Ik3TWCeV433olw==;24:8DgC4bge5fDd2sgE3gKjyQSudpsCI2J68HI5XChAq6H/evgOTmn6pKnNx0FQS6aorGkRqORLzQaFVhM43MyWtb0BfiaV29+KboF8dNmBWRE=;7:FH8DkU9P/vAA2cZf0DCaqz5AJcXiy0ygl+Y8/LrpsGe5MAcP4A/EFx9j+hYJmORCaEjCtA/JWl80qdNRjjvo0hL4LnEt++q1KirBBcD5K1ervta5qLh42AsICnwR2hakHCxbOjf6EdMQtgxf/6M0Vj8JMmSuW08/X0mL49SuD3kM8YHnljh4K8dAvOo+bCu3


It is being added by several of his vendors (different domains).  All from 
*.outlook.com servers.

The SMTP32.exe process of my IMail (v8.15) sees the data in this header and for 
some reason is adding a blank line after the header.  This server has been in 
production since v8.15 was current.  It has processed millions of emails and 
this is the first time I've had a problem like this.

I grabbed the raw email in the D*.smd file and all looks good.  In my email 
client, it looks good.  When that file is processed and forwarded to my 
customer's Exchange server, it shows headers in the body of the email.  It took 
me quite awhile removing headers until I figured out which one it was.  With 
the help of a colleague, I had IMail send the email to their email server 
(non-Exchange).  He grabbed the raw email file from their end and we saw the 
extra blank line that was throwing everything off.  SMTP32.EXE is inserting a 
blank line after this header.  While it is a long header, it is not the longest 
header in the email.

I find that when I remove this header, all works fine.  So that is what I am 
trying to do.

I have been working on this issue for two weeks.  It took me until tonight to 
determine that SMTP32.exe was at fault.  During my research, I even removed 
Declude from the chain and things still failed.  I am trying to fix the problem 
with the tools I have at hand.

Don

---------- Original Message ----------------------------------
From: "David Barker | Mail's Best Friend | 1-866-919-2075" 
<david.bar...@mailsbestfriend.com>
Reply-To: <community@mailsbestfriend.com>
Date:  Tue, 10 May 2016 17:34:23 -0500

>Lets start at the end and work backwards.... what is the reason for removing
>the header line and secondly which headerline do you want to remove ?
>
>-----Original Message-----
>From: community@mailsbestfriend.com [mailto:community@mailsbestfriend.com]
>On Behalf Of Don Winsauer
>Sent: Tuesday, May 10, 2016 3:56 PM
>To: community@mailsbestfriend.com
>Subject: [MBF] Call external batch file from Declude
>
>I need to remove a header line from a set of emails.
>
>Can I use Declude to call an external batch file to modify the D*.smd file?
>Possibly either as a Junkmail test or possibly a emulating a virus scanner?
>
>Anyone doing anything like this?
>
>Don
> 
>
>
>
>
>________________________________________________________________
>Sent via the WebMail system at net1media.com
>
>
> 
>                   
>
>#############################################################
>This message is sent to you because you are subscribed to
>  the mailing list <community@mailsbestfriend.com>.
>To unsubscribe, E-mail to: <community-...@mailsbestfriend.com>
>To switch to the DIGEST mode, E-mail to
><community-dig...@mailsbestfriend.com>
>To switch to the INDEX mode, E-mail to <community-in...@mailsbestfriend.com>
>Send administrative queries to  <community-requ...@mailsbestfriend.com>
>
>
>
>#############################################################
>This message is sent to you because you are subscribed to
>  the mailing list <community@mailsbestfriend.com>.
>To unsubscribe, E-mail to: <community-...@mailsbestfriend.com>
>To switch to the DIGEST mode, E-mail to <community-dig...@mailsbestfriend.com>
>To switch to the INDEX mode, E-mail to <community-in...@mailsbestfriend.com>
>Send administrative queries to  <community-requ...@mailsbestfriend.com>
>
>
 




________________________________________________________________
Sent via the WebMail system at net1media.com


 
                   

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <community@mailsbestfriend.com>.
To unsubscribe, E-mail to: <community-...@mailsbestfriend.com>
To switch to the DIGEST mode, E-mail to <community-dig...@mailsbestfriend.com>
To switch to the INDEX mode, E-mail to <community-in...@mailsbestfriend.com>
Send administrative queries to  <community-requ...@mailsbestfriend.com>

Reply via email to