Journal Envelope Header malformation

Overview
•     My company has Designed and Implemented an Journal Archive and Discovery Solution for a University.
The solution provides Journal Archive and Discovery for approximately 22,000 users.
Approximately 15,000 University users /students are using Sun Mail Messaging , that BCC’s every message to an Exchange 2007 Journal Mailbox.
Journal Archive Solution , will then Journal Archive the Sun Mail message from the Exchange 2007 Journal Mailbox.
Problem Description - Sun Mail Messages Journaled by Exchange 2007 are unable to be Journal Archived by Archiving Software
•     Sun mail has a feature to enable Microsoft like journaling. The message looks quite similar to exchange 2003 journaling when it arrives in a Exchange mailbox ( the message gets into the exchange mailbox via SMTP).
•     The internal recipients (mailboxes that have mailboxes on the Sun mail system) have the recipients email address as userid@ims-ms-daemon e.g
Sender: <[email protected]>
Message-id: <[email protected]>
Recipients:
<jbrown@ims-ms-daemon>
<jdoe@ims-ms-daemon>
<jshaw@ims-ms-daemon>
<jsmith@ims-ms-daemon>
<[email protected]>
•     All the sender & recipient addresses were not preceded by smtp
•     Archiving Software Journal Archive, requires an Exchange 2007 Journal Message Report field/header to be , Message-ID
KB Article that outlines the required Header.
http://technet.microsoft.com/en-us/library/bb331962(EXCHG.80).aspx
•     Currently the Exchange 2007 Message Report Field/Header and the Sunmail message recipient address fields are incorrect and therefore cannot be archived by Archiving software.
Current Workaround
•     Manually Modified the current Sun Mail message format and recipient address fields , using the following process , and then the Sun Mail messages were archived successfully:
Using Outlookspy the message was modified with the following changes, and EV was then able to process the message as an envelope Journal message and the results were exactly similar to how an exchange 2003 Envelope journal message is archived.
1.     Add PR_CONTENT_IDENTIFIER_W Tag number:0x0008001F Type:PT_UNICODE Value:ExJournalReport
2.     Change the Message-id: [email protected] to Message-ID: [email protected]
3.     Replace ims-ms-daemon with xxxxx.edu (our internal mail domain)
Sender: <[email protected]>
Message-id: <[email protected]>
Recipients:
<[email protected] >
<[email protected] >
<[email protected] >
<[email protected] >
<[email protected]>
Original message body     Modified message body
Sender: <[email protected]>
Message-id: <[email protected]>
Recipients:
<jbrown@ims-ms-daemon>
<jdoe@ims-ms-daemon>
<jshaw@ims-ms-daemon>
<jsmith@ims-ms-daemon>
<[email protected]>
Sender: <[email protected]>
Message-Id: <[email protected]>
Recipients:
<[email protected] >
<[email protected] >
<[email protected] >
<[email protected] >
<[email protected]>
Actions Taken
•     Conducted a meeting with Archiving Software Vendor Technical Product Management to discuss the problem , analyze root cause and determine action plan.
Response
• Journal Archive Solution is designed to archive messages that are eligible for archiving .
•     The Current Exchange 2007 Journal format of Sun Mail messages is not eligible for archiving.
•     Archiving Software is not designed to alter Exchange 2007 Message format.
Root Cause
•     Something is happening during the routing / redirection of the Sun Mail message to Exchange 2003 and then to the Exchange 2007 Journal Mailbox that is malforming the message format and spoofing Exchange 2007 to accept the Sun mail message format.
Suggested Action Plan
•     Follow the Sun Mail message flow, through the entire routing / redirection process , from Sun Mail to Exchange 2003 and then to the Exchange 2007 Journal Mailbox .
•     Determine where and when the message is malformed in this process , and correct the problem .
***Important note on flow of mail, Sun uses SIEVE REDIRECT to send copy of messages to Exchange 2003 server, Exchange 2003 forwards to Exchange 2007, where archiving is than done from the journal folder.***
SIEVE REDIRECT looks like this:
#BEGINFILTER
if anyof(true){
keep;
redirect "[email protected]";
stop;
#ENDFILTERDO you have any idea where header malformation can be happening and how to prevent it?

DamnGoodSE wrote:
&#149;     The internal recipients (mailboxes that have mailboxes on the Sun mail system) have the recipients email address as userid@ims-ms-daemon e.g
Sender: <[email protected]>
Message-id: <[email protected]>
Recipients:
<jbrown@ims-ms-daemon>
<jdoe@ims-ms-daemon>
<jshaw@ims-ms-daemon>
<jsmith@ims-ms-daemon>
<[email protected]>
The Exchange format journal information is telling you which recipients received the email. A users email address may change over time or the email could have been forwarded to another account on the same system, so sending an email to "[email protected]" doesn't mean the user jbrown was the end recipient.
Equally, recording the initial submission address doesn't tell you who received the email. A mailing list address doesn't tell you who received the email as mailing lists change over time.
A possible enhancement to the journal format is to provide the "initial" submission address/forwarded address fields.
&#149;     All the sender & recipient addresses were not preceded by smtpThe examples provided in the KB article you point to below don't have sender/recipient addresses preceded by "smtp:".
&#149;     Archiving Software Journal Archive, requires an Exchange 2007 Journal Message Report field/header to be , Message-ID
KB Article that outlines the required Header.
http://technet.microsoft.com/en-us/library/bb331962(EXCHG.80).aspx
I see nothing in that document to say that the header name is case sensitive i.e. "Message-ID" is not the same as "Message-id". In fact, the "Journal report that displays basic recipient fields" example use "Message-Id:"
&#149;     Currently the Exchange 2007 Message Report Field/Header and the Sunmail message recipient address fields are incorrect and therefore cannot be archived by Archiving software.The information is not incorrect. It may not be in the format/case your particular "Archiving Software" expects however that doesn't mean they are wrong.
DO you have any idea where header malformation can be happening and how to prevent it?I see no evidence of "header malformation".
Regards,
Shane.

Similar Messages

  • JAEHYLEE (R11i GL) Journal Batch & Header Name 길이 변경

    Purpose
    Utf8 database character Set 변경작업등으로 Journal Batch와 header의 이름의 길이를 늘여야 할 경우에 Column Size 변경에 대한 문의에 대한 확인
    Solution
    아래와 같이 Bug3913769를 참고하여 batch와 header의 name column size를 변경하는 하는 것은 violation 문제가 없다고 하였습니다.
    For the name columns in gl_je_batches, gl_je_headers you can change the size of name column using sql*plus.This will not cause any violation in relational integrity.
    Reference
    Bug3913769

    yes most of the times there are alot of customizations ...
    If you are doing any customization to out of the box ETL job then you will do that in custom folders such as custom_sde or custom_sil. Now your modified etl job is in a new Informatica folder in order for this new etl job to run by DAC you need to create a new folder in DAC with the same name as in informatica and associate it with corresponding informatica folder.
    Please refer to the DAC Guide Section 5 for more step by step information !!
    Hope this helps !!

  • Adding a authentication Header in the Envelope Header of SOAP Request

    Hi Experts,
                       I want to send an authentication header as the Envelope header of the SOAP Request as follows.
    <env:Header>
              <AuthHeader>
                   <Id>MyOemId</Id>
                   <Password>MyOemPassword</Password>
                   <Domain>MyDomain</Domain>
                   <UId>MyUserId</UId>
                   <UPassword>MyPassword</UPassword>
              </AuthHeader>
    </env:Header>
    <env:Body>
    </env:Body>
    If I include this as part of my Source XI message then it will go as a payload which is not the requirement.
    Any suggestions for this?
    Thanks
    Ajay

    If I include this as part of my Source XI message then it will go as a payload
    Try using the "Keep Header" parameter at soap sender communication channel.
    Regards,
    Prateek

  • Envelop header for HTTP receiver adapter

    Hi,
    In one of the business scenario's XI has to send data to an external party using an envelope header(Sample document to be sent is given below.)
    <b>Message-ID:ABC.JavaMail.SYSTEM@ztxwmwspro02
    Date: Thu, 16 Oct 2003 17:02:04 -0400 (EDT)
    Mime-Version: 1.0
    Content-Type: multipart/related
    Content-ID: 4bafd2e2-7971-1000-a6a3-0fe8304d0001
    x-Date-Sent: 01 Dec 2005 11:26:47 CST referenceId:
    x-Document-Type: Error
    x-Priority: 5
    x-Correlation-Id: 4bafd2e2
    x-Request-Annotation: normal
    <Order>
      <OrderHeader>
        <OrderNumber>
          <BuyerOrderNumber>XXX</BuyerOrderNumber>
        </OrderNumber>
        <OrderIssueDate>20050223T12:00:00</OrderIssueDate>
    <OrderHeader>
    <Order></b>
    1) How can this be acheived?
    2) How/Where can i see the header data of the message that is being sent out by a receiver HTTP adapter?
    Regards,
    Siva Maranani

    hi Siva,
    Did you see this link ?? 
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/frameset.htm
    it provides good information aboutPlain HTTP: Outbound Channel.
    cheers,
    Naveen

  • How reduce envelope header?

    How do you reduce the header margin for envelopes in Pages 5.5 on iOS 10.10?

    Cody,
    We would have to know exactly which template you are using. Last time I looked, there were differences in template design. I don't recall any of them using Headers though.
    Jerry

  • Error parsing envelope: Header child element must be namespace qualified

    Hey all,
    I'm creating a BPEL process that invokes a web service. The web service has an authenticate method that returns a session ID that I attempt to invoke. However, the process fails when trying to parse the response when invoking that operation. I checked the server logs and it's reporting the following: javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Header child element 'ID' must be namespace qualified!
    So I invoked the authenticate operation using SOAP UI, since it doesn't parse the response but merely displays it, and here's what was returned (slightly modified):
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header>
          <ID>xxx</ID>
       </soapenv:Header>
       <soapenv:Body>
          <ns1:SessionID xmlns:ns1="http://some-namespace">
             <ns1:ID>xxx</ns1:ID>
          </ns1:SessionID>
       </soapenv:Body>
    </soapenv:Envelope>
    Indeed the ID tag in the header doesn't have a namespace prefix. Looking at the SOAP 1.1 spec it says, “A header entry is identified by its fully qualified element name, which consists of the namespace URI and the local name. All immediate child elements of the SOAP Header element MUST be namespace-qualified.”
    I was told that the code for the web service is frozen and cannot be changed. Are there any ways around this problem? Is it possible for the BPEL process to not parse the SOAP header?
    Thanks,
    Bill

    All,
    I think I might use a HeaderHandler to either strip the offending element from the header all together or modify it so that it's namespace qualified. The problem is, I can't find much documentation on it. The only thing I can find is this: Manipulating XML Data in BPEL section 3.19. It says to implement the HeaderHandler interface but doesn't give the fully qualified name of the interface. I'm guessing it's referring to com.collaxa.cube.ws.HeaderHandler. The invoke method that is defined in the interface is a little different than the one in the documentation. Mine has a signature of public void invoke(CXPartnerLink partnerLink, String operationName, Map payload, List list, Map map2)...what do these parameters represent and what key/value types do the maps have? It also says to register the handler in the bpel.xml deployment descriptor file but I can't find one - is it auto-generated? If so, where is it. If not, how do I generate it? I appreciate any information.
    Thanks,
    Bill

  • DTW - Journal Enrty Header- Fixed Exchage rate

    Hi Friends,
    The field "Fixed Exchange Rate" check box in JE.
    Is it POSSIBLE or NOT POSSIBLE  to update the value  OJDT (OrgCurr and TransRate) using the DTW.
    Regards,
    Rakesh N

    Hi Gordon,
    Thanks for your reply.
    Yes, I can update the Fixed exchage rate - JE in the UI .
    Is it possible to update the field using JE- DTW or not.
    Regards,
    Rakesh N

  • Difference between Journal batch,journal header and journal line

    Hi,
    Can someone explain what the difference between Journal batch, Journal header and journal line are?
    Can we post only one batch at a time?

    Hi,
    Journal Batch means it contains batch name, description, status, running total debits and credits, and other information.
    Journal Headers means it contains batch ID, the journal entry name
    and description, and other information about the journal entry.
    Journal Lines means it contains journal entry header ID, the line number, the associated code combination ID, and the debits or credits associated with the journal line.
    So here is the replationships.
    Batch--- 1 to many -- Headers
    Headers -- 1 to many -- Lines.
    --Basava.S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Search-Mailbox for Message Header Content in Management Shell

    Can I use the search-mailbox command to search for message header content?
    The reason I ask is because I need to search for any emails that came in to an email alias address.
    I am searching a journaling mailbox.
    Normally, I would do soemthing like...
    Search-Mailbox -Identity "journalbox" -SearchQuery '"To: [email protected]"' -TargetMailbox "exportbox" -TargetFolder "exported_messages"
    The problem is, because I'm looking to find the emails coming to [email protected], when the messages are journaled they appear as "To: [email protected]" in the journaled envelop message.
    In this scenario if I could simply search header content for the email ([email protected]) that would accomplish what I need.

    Hi,
    We can use the Search-Mailbox cmdlet to search messages in a specified mailbox and perform any of the following tasks:
    Copy messages to a specified target mailbox.
    Delete messages from the source mailbox.
    Copy messages from the source mailbox and delete them from the target mailbox.
    Perform single item recovery to recover items from a user's Recoverable Items folder.
    Clean up the Recoverable Items folder for a mailbox when it has reached the Recoverable Items hard quota.
    To search for message header content, we can use Get-MessageTrackingLog cmdlet.
    Here is an article for reference:
    http://exchangeserverpro.com/exchange-2010-message-tracking-log-search-powershell/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety,
    or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Best Regards.

  • Account description not shown in cash journal

    hi
    when i am looking the cash journal report in S_P6B_12000118 than i am not able to see the respective GLs  from which i have done entries. how can i see the GLs , so that i can do proper reporting or there is any other way to check it

    Dear
    You can develop your own query(t.coide SQVI) by joining the following requisite tables based upon the requirement.  The following cash book tables especially TCJ_DOCUMENTS and  TCJ_POSITIONS and TCJ_TRANSACTIONS mostly have the data you need.  Just check up and after you feel satisfied with the output of the query a t.code can be developed by your abaper.
    TCJ_BALANCE FI Cash Journal: Totals Records
    TCJ_C_JOURNALS Cash Journals
    TCJ_CHECK_STACKS Check Lists in Cash Journal
    TCJ_CJ_NAMES Cash Journal Names
    TCJ_CPD FBCJ: One-Time Account Data of Cash Journa
    TCJ_DOCUMENTS Cash Journal Documents (Header Data)
    TCJ_MAX_AMOUNT Cash Journal: Amount Limit
    TCJ_POSITIONS Cash Journal Document Items
    TCJ_PRINT Cash Journal Print Parameters
    TCJ_TRANS_NAMES Cash Journal Business Transaction Names
    TCJ_TRANSACTIONS Cash Journal Business Transactions
    Regards

  • How can I get SessionID from SOAP Header in MessageMapping

    Hello experts,
    I've got a Abap Proxy --> PI --> WebService scenario. I do the call to the web service and it returns me the data and a SessionID in the SOAP header. I've got a message mapping for the response, and in this message mapping I need to get this sessionID because I have to use it later.
    I have tried with a UDF with this code:
    String headerField = "";
    try
      String key="SessionID";
      java.util.Map map;
      // get runtime constant map
      map = container.getTransformationParameters();
      // get value of header field by using variable key
      headerField = (String) map.get(key);
    catch(Exception e){}
    if(headerField==null)
        headerField = "";
    return headerField;
    But it returns me nothing.
    In sxmb_moni I can see the sessionID (see attached file), so It should be possible to access it.
    How can I do to get this data????
    Many thanks.

    Thanks Indrajit.
    I have found a solution. I have to use the option: Do Not Use SOAP Envelope in my communication channel.
    But as I am using web services I have to create the SOAP Envelope in my mapping (in request and in response).
    I have created 2 xslt mapping files: one for request and one for response. The xslt mapping for the request it is placed in second position in my operation mapping. This xslt maping just move the fields and add the soap envelope (header and body, and inside the body places the data from 1st mapping).
    The response xslt mapping it is placed directly in my operation mapping (in response area). It transforms the SOAP response into my Message Type.
    Here you can find my xslt for request (sessionID, in0, in1 and in2 are fields from my source message type):
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <SOAP:Envelope xmlns:SOAP="http://www.w3.org/2003/05/soap-envelope">
          <SOAP:Header>
         <ses:sessionIDHeader xmlns:ses="http://xml.apache.org/axis/session">
                 <sessionID><xsl:value-of select="*/sessionID"/></sessionID>
             </ses:sessionIDHeader>
          </SOAP:Header>
          <SOAP:Body>
          <ser:invokeService xmlns:ser="http://www.w3.org/2003/05/soap-envelope">
             <in0><xsl:value-of select="*/in0"/></in0>
             <in1><xsl:value-of select="*/in1"/></in1>
             <in2><xsl:value-of select="*/in2"/></in2>
          </ser:invokeService>
          </SOAP:Body>
        </SOAP:Envelope>
      </xsl:template>
    </xsl:stylesheet>
    Here is xslt for response (invokeServiceReturn,sessionIDare fields from my target message type):
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <ns1:MT_invokeServiceResponse xmlns:ns1="http://saras.com/pi/creditoycaucion">
            <invokeServiceReturn><xsl:value-of select="/*/*/*/invokeServiceReturn"/></invokeServiceReturn>
            <sessionID><xsl:value-of select="*/*/*/sessionID"/></sessionID>
        </ns1:MT_invokeServiceResponse>
      </xsl:template>
    </xsl:stylesheet>
    Kind Regards.

  • Cash journal report

    Hi
    Can anyone tell the report of cash journal in which we can get internal document no. , cash journal document no. and related FI document No. in 1 report.
    Thanks in advance.
    Regards
    Amita

    .i dont think there is any standard report available.
    Develop Z report using the following tables
    TCJ_DOCUMENTS     Cash Journal Documents (Header Data)
    TCJ_POSITIONS                  Cash Journal Document Item
    BKPF
    Regards
    Chandra

  • XI30 SPS16 - SOAP Sender Adapter - self-defined SOAP-Header

    Hi Folks!
    My scenario is that I have to send a synchronous SOAP message to an external receiving system which expects certain processing information in the SOAP header. That external system then synchronously sends back a response SOAP message to tell me the processing results of my request message.
    The How-To Guide SOAP Adapter says that for the request message I have to create the whole SOAP Envelope (SOAP Enevelope, Header and Body) on my own within the mapping and that I have to remove the SOAP header in the response message. Unfortunately this guide does not tell me how this can be realized.
    In other SDN threads I've read that this can be achieved by using XSLT mappings. Unfortunately I have never done this before and currently I have no clear idea how to do this. And to be honest: I am everything else than an XSLT expert (historically I'm coming from the ABAP part of SAP R/3).
    My plan is to create the request payload using the graphical mapping tool and to add an XSLT mapping as 2nd mapping to build the SOAP "overhead" around the payload.
    For the response my plan is to first use XSLT mapping to remove the SOAP "overhead" from the response message and then use the graphical mapping to handle the payload.
    Questions:
    1. Is this possible?
    2. How can I achieve this?
    3. Can anybody send me an XSLT mapping sample to create a SOAP envelope, header and body around the payload for the request message?
    4. Can anybody send me an XSLT mappping sample to remove the SOAP envelope, header and body around the payload for the response message?
    Because I'm everything else than an expert in XSLT mappings, some kind of a "click guide with samples" would be VERY GREAT!
    Thanx in advance to anybody who will help me!!! For real help maximum points are guaranteed.
    Regards,
    Volker
    mail: [email protected]

    Hi Volker,
    Try this XSLT code, chanfe the TODO part.. add the SOAP header part. Save it as .xsl. ZIP it and import it in the Imported archive. Please test it I have'nt test the code as I dont have a system access now.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:template match="/">
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Header xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    --- TODO -
    </Header>
    <soap:Body>
    <xsl:copy-of select="*"/>
    </soap:Body></soap:Envelope>
    </xsl:template>
    </xsl:stylesheet>
    For the rest have a look at this thread
    SOAP Adapter: DO not use soap envelope
    Thanks,
    Prakash

  • "Do Not Use Envelope"  feature: WS Receiver vs Soap Receiver

    I have a scenario that I need to call web service on receive side.
    When I use Soap adapter, need to use mapping program to compose SOAP message mannully:
    Envelope
       + Header
         ++MessageID
         ++Action
       +Body
         ++FistName
         ++FistName
    In SOAP receiver adapter, I do not use PI envlope, so I have to choose "Do Not Use Soap Envelope" option.
    When I use WS receiver adapter to call the same web service, I could not find the way the Soap adapter does.
    Anyone tried to use same feature in WS adapter ?
    Thanks
    Liang
    Edited by: Liang Ji on Oct 27, 2011 4:33 PM

    >Anyone tried to use same feature in WS adapter ?
    IMO, WS adapter does not provide "Do Not USe Envelope option" in 7.1 as well in  above versions.   You might want to see other experts opinion.

  • How to increase the length of Remarks in Journal Vouchers

    Hi SAP Guru,
    I  am new in SAP Business One.  Normally our Narration which we feed in Details of Journal Voucher is longer than the space provided.  Is there any way to increase the length of Details field in Journal Voucher or Some other way we can cater this requirement.
    Thanks for answers in advance
    J.S.Rana

    Hi Rana,
    In this case, you have to create a user defined field of required length under Journal Transactions Header to fill the data.
    Regards,
    Vijay Kumar
    SAP Business One Forums Team

Maybe you are looking for

  • Installed Java - Terminal now opens automatically every time I open my computer. I deleted Java 7 application, but now terminal still pops up. Why? How can I get it to stop?

    I installed Java 7. Suddenly, Terminal bounced open every time I logged into my computer after that + the program I needed to run with Java didn't work, so I uninstalled Java 7. I have no Java, but Terminal bounces open - still. It never did before.

  • Query cannot be parsed(ORA-00903: invalid table name)

    Hi all, I am creating a report on a remote table using a database link which connects to the system schema so it can access any schema tables in the link. But the schema name and db_link name is variable which is passed on by the "parent" table which

  • Business Connector to XI

    Hi, I have tried to find some documents on replacing XI with BC. I found one document, how-to migrate sap bc scenarios to sap xi. I am little bit confused with that doc. It says URL, I dont see any URL there to import. If anybody worked on replacing

  • Smartforms - urgent ~ pls help

    Hi,   I have a question on the smartforms.   I need to create a cover page & content page. In the Cover page's Main window, I added a template because data is only displayed once and it is static.   As for the Content Page, I have 1 template & 1 tabl

  • Dump with raise not_found.

    Hi, program LCODBU02 dumping when i execute MF60. it shows in dump analysis ' A RAISE statement in the program "SAPLCODB" raised the exception condition "NOT_FOUND". Since the exception was not intercepted by a superior program, processing was termin