Modify header and envelope from / to, in messaging server

Hello,
We did some changes in LDAP server for a user (adding an mailalternateaddress) ==> config-1, but after that we put back the original config ==>config-orig, the anveloppe from/to and the header to, have been modified for the config-1 and stay like that when we check ./imsimta test -rewrite user, despite after a dirsync or removing completly the user and recreate it
I think that it's in FROM_ACCESS Mapping Table
So please how could we put back the header to and envelope from/to for config-orig in Messaging Server 6.3 ??
Regards.

If you have made MTA config changes and they seem to not be taking effect, make sure you have done:
imsimta cnbuild
imsimta restart <component>where "+<component>+" is either dispatcher or job_controller depending on whether the config change should effect mail coming in to the queue (dispatcher) or how it is being removed (job_controller). You can just do "imsimta restart" and it will restart both, but restarting the job_controller should be avoided if possible.
If you have made LDAP changes and they seem to be not taking effect, it may be because the tcp_smtp_server processes have cached the old value. The easiest way to clear that is "imsimta restart dispatcher".

Similar Messages

  • How to fetch Header and Payload from a MimeMessage

    Hi,
    I have created a MimeMessage using an InputStream 'ins' like this
    MimeMessage mimeMsg = new MimeMessage(Session.getInstance(new Properties(), null), ins);This MimeMessage now looks like as shown below:
    Message-ID: <30289364.1195019945580.JavaMail.rishi@ap00475>Mime-Version: 1.0Content-Type: multipart/related;      boundary="ERCOT-XML-DATA";     Type="Application/X-ERCOT-MARKETS"--ERCOT-XML-DATAContent-Type: Application/XMLContent-Transfer-Encoding: 7bit<.....XML header....>--ERCOT-XML-DATAContent-Type: Application/XMLContent-Transfer-Encoding: 7bit<.....XML payload....>--ERCOT-XML-DATA--How can I get the above message to look like a proper MIME message (as shown below)? I tried using the method parse(), but it doesn't seem to do anything.
    Message-ID: <13665843.1194849042656.JavaMail.rishi@ap00475>
    Mime-Version: 1.0
    Content-Type: multipart/related;
         boundary="ERCOT-XML-DATA";
         Type="Application/X-ERCOT-MARKETS"
    --ERCOT-XML-DATA
    Content-Type: Application/XML
    Content-Transfer-Encoding: 7bit
    <.....XML header....>
    --ERCOT-XML-DATA
    Content-Type: Application/XML
    Content-Transfer-Encoding: 7bit
    <.....XML payload....>
    --ERCOT-XML-DATA--Also, how can I fetch the XML headers and the XML payload from this message? It would be great if you could tell me which methods in particular will be useful for this?
    Thanks,
    Rishi

    Hi bshannon,
    Here is my code. Here I am trying to create an inputstream from a mime message and vice versa. But while creating the Mime message back from the inputstream, it does not give the linebreaks. It looks like one single line of string. Also I am not sure how I can fetch the XML header and payload from this message.
    ByteArrayOutputStream bos = new ByteArrayOutputStream();
              mimeEncodedMsg.writeTo(bos);
              byte[] ba = bos.toByteArray();
              ByteArrayInputStream bin = new ByteArrayInputStream(ba);
              BufferedReader inputReader = new BufferedReader(new InputStreamReader(bin));
              StringBuffer serverResponse = new StringBuffer();
                             while ( inputReader.ready() )
                                  serverResponse.append( inputReader.readLine() );
                             inputReader.close();
    // -----------------MIME conversion to InputStream done----------------------     
              BufferedReader serverReader = new BufferedReader( new StringReader (serverResponse.toString()));
              StringBuffer servResp = new StringBuffer();
                   servResp.append( serverReader.readLine());
              serverReader.close();
              byte[] ba1 = servResp.toString().getBytes();
              ByteArrayInputStream bin1 = new ByteArrayInputStream(ba1);
              MimeMessage mimeDecodeMsg = new MimeMessage(Session.getInstance(new Properties(), null), bin1);
              mimeDecodeMsg.writeTo(new FileOutputStream("C:\\MimeTest2.txt"));Any idea why this is happening?
    Thanks,
    Rishi

  • HT1349 how  do you remove the header and footer from a document

    how  do you remove the header and footer from a document

    It depends upon the app you are using.

  • How to disable auto header and footer from firefox desktop Application

    I build a Firefox desktop application for my company. i need to print some page from that application using JS window.print(). It Works Perfectly in my application. But the problem is when it printing my document it prints a header and a footer automatically. I Want to remove this. I can remove this on Firefox browser , but i cant remove this on my application. Please Somebody Help Me.
    here is my application link: https://marketplace.firefox.com/app/hmspro
    User Login : admin / Password: 123
    if you want to get into printing page navigate invoice > paid invoice > print button.
    I also tryed from about:config and disable all default header footer. but it wont worked.

    Hi saaiful,
    Thank you for posting your question. window. will print header and footer.
    Here are some solutions I found after researching your issue:
    *[http://forums.mozillazine.org/viewtopic.php?f=12&t=216810]
    *[http://stackoverflow.com/questions/8228088/remove-header-and-footer-from-window-print]
    *[http://www.dreamincode.net/forums/topic/22598-using-windowprint-without-printing-header-and-footer/]
    *take a screenshot and create a page that is printable [http://www.webdeveloper.com/forum/showthread.php?210947-Using-window-print-without-printing-header-and-footer]
    *Target to another window then print: [http://www.liferay.com/community/forums/-/message_boards/view_message/3401817]
    Hope this helps.

  • HT1937 Hello ! How i get activate my sim phone ? I have iphone 4s and I've received a message : "server unavailable. Please contact apple support." I've tried with iTunes, but ididn't work. Please help me.

    Hello ! How i get activate my sim phone ? I have iphone 4s and I've received a message : "server unavailable. Please contact apple support." I've tried with iTunes, but ididn't work. Please help me.

    Generally this is a sign that the iPhone had previously been
    hacked/modified/jailbroken and tis now relocked it to the
    original wireless carrier. If this is the case, only that wireless
    carrier can unlock your iPhone. You must contact them to see
    if they offer unlocking and if you qualify.
    Where did you acquire this iPhone?
    What wireless carrier did you use before this problem?
    Does the app Cydia appear on your iPhone?
    What does it say when you look at Settings=>General=>About=>Carrier?
    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743 
    If your iPhone has not been jailbroken, see the troubleshooting suggestions here:http://support.apple.com/kb/TS3424?viewlocale=en_US

  • How to remove Header and Footer from Flat File

    Hi,
    In a scenario , we are going to recieve a flat file which will contains header , footer and data. We have to have to load data in Oracle tables and remove header and footer.
    once the data load is complete , we have to delete flat file from source directory.
    Please help me in solving this issue.
    Thanks,
    Kamlesh

    You have a header parameter in the file datastore. You can provide any number to skip rows from top of the file. For footer you can create a filter in staging area.
    Filter coould be something like this.
    where source_alias.source_column not like '%FOOTER_OR_ANY_VALUE_AS_PER_YOUR_REQ'

  • Remove header and footer from blank left-hand pages

    Are there any scripts to automatically remove header and footer on a blank left-hand page for an InDesign CS3 document? I have a book with many chapters and it would be more efficient than removing them by hand.

    It's a one liner from a much longer script that does quite something else -- this is merely a side effect, a quick way to get a page range (i.e., I need the range "251-256" to appear on my first page, excluding an optional blank last one) [*].
    Perhaps I could write a full script, but for that I need a bit more information. Is your document an InDesign Book, with each chapter in a separate document? If so, any empty frame on a last leftmost page can safely be deleted. If your book is in a *single* InDesign document, this line can only be used if a left hand page has *no objects at all* -- not even an empty frame. That's the easy case -- in English "if there are no objects on the page, apply the "[None]" master. If there *is* a frame, however, it cannot be removed right away, even if it seems empty. That's because in that case you probably have inserted a page break somewhere on the previous page, and if the frame is deleted, tht page break will push off the text on the *next* page (the right hand). It also depends on what kind of page break -- as a character or as a paragraph Keep Option; Next Page, Next Frame, Next Odd Page, Next Column. Way too complicated to script right off the bat.
    All in all, applying that empty master maually is much easier :-)
    [*] Sure, I know how to use the Next Page Number trick. However, I also need the range in my XML output, and the Page Number markers do not play nice when written out in ASCII.

  • Display constant values in header and items from table in ALV

    Hello all,
    I have to dispaly the header and Item entires in the output . and the point is header values are all constant and they are not related to item data .  item data is to dispalyed from VBAP table .
    so how can i achive this .. can i use this FM REUSE_ALV_HIERSEQ_LIST_DISPLAY ...
    example of outpput..
    Header inforamtions..
    name             city                  areacode              areazone            postzip
    abcde            xyz                   1244                    abc                      123456
    and the item details should be right below the header details
    Cnt     Vbeln            vkorg                vtweg               matnr       etc           etc
    1         xxx               xx                         xx                 xxxx         xxx          xxxx
    2        xxx               xx                         xx                 xxxx         xxx          xxxx
    3       xxx               xx                         xx                 xxxx         xxx          xxxx
    4      xxx               xx                         xx                 xxxx         xxx          xxxx
    5    xxx               xx                         xx                 xxxx         xxx          xxxx
    6   xxx               xx                         xx                 xxxx         xxx          xxxx
    I am able to dispaly the line items with the FM 'REUSE_ALV_GRID_DISPLAY' plz advice  the best solution to achive this
    thanks
    Raj
    Edited by: abaprthree on Oct 28, 2009 12:30 PM

    Hi,
    For this you will need to define header for the ALV. Here is a simple example how to do this:
    First you need to write one Header form like following:
    FORM f004_header  USING it_head TYPE slis_t_listheader..
      DATA : wa_line TYPE slis_listheader.
      CLEAR wa_line.
      wa_line-typ = 'H'. " H = Header, S = Selection, A = Action
      wa_line-info = 'List of Sales Orders'.
      APPEND wa_line TO it_head.
    " Here type out all the required data one by one in work are and append it to internal table
    ENDFORM.                    "f004_header
    before calling REUSE_ALV_GRID_DISPLAY you need to call following
    TO HEADER EVENT
    FORM f006_top.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = it_header.
    ENDFORM.                                                   
    and for REUSE_ALV_GRID_DISPLAY call as following
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_callback_top_of_page   = 'F006_TOP'
          it_fieldcat              = t_fieldcatalog[]
        TABLES
          t_outtab                 = it_data.
    Let me know if any other help is needed.

  • Supress Header and Trailer from being generated and printed

    I am using oracle 9i Reports Builder.
    Is there a way to supress the header and trailer pages from being generated and printed.

    Increase the marigin size to zero size header and trailer in the layout editor and then run the report.

  • Problem printing labels and envelopes from Address Book

    I am very frustrated by the impossibility, when printing labels or envelopes from Address Book, of including both an individual name and a company name on the label or envelope. The Address book will only print one or the other. When sending correspondence to a person in a large company or building, the correspondence will not get to that person with only the company name or the individual name. It shocks me that in all these years I have been a Mac user, Apple has never noticed and fixed this fundamental problem. I would now like to buy an Ipod or an Ipad, but I am reluctant because I do not want to have to sync my addresses to Apple's juvenile address book. Is there any solution to this?

    !http://i46.tinypic.com/2nvn6f.gif!
    "It shocks me that in all these years I have been a Mac user, Apple has never noticed and fixed this fundamental problem.
    Is there any solution to this?"
    Upgrade to Snow Leopard!
    Or check out the Mail & Address Book - Tiger Forums & ask if there is a work-a-round.
    !http://i50.tinypic.com/izvwo1.gif!

  • How to remove header and footer from a "blank" page in Pages?

    Hi,
    In the top and the bottom there seems to be a header and footer, it noticeable when i do "mouse over". But when i right click i don't get the option to delete it. I cannot move it. I cannot move any other text or colums above it.
    ??? Help

    +Inspector > Document (1st tab) > Document > Uncheck Header and Footer+
    The Pages09_UserGuide.pdf is available for download under the Help menu and is a good read.

  • Remove Header and Footer from a report

    Hi,
    I use the report S_ALR_87012104. But I want to export this report removing the header and footer. Is it possible to export the report excluding header and footer. That is line items only.
    Regards
    Mahbub

    Hi,
    It is possbile but not suggested to change a standard SAP report. but you may change it via abaper.

  • Question about active queue and related msg of Nets.Messaging server 4.15

    I have Netscape Messaging Server 4.15 Patch 7 (buil
    t Sep 11 2001). I see that the number of messages in active queue viewed as number of file (ls -l queue/messages | wc -l) doesn't matches with the number of messages that I see in Mailbox-deliver as showed by sendmail -bp command.
    Why?
    Very often number of file are few hundred, when the emulator of sendmail shows only twenty-thirty messages.
    And I see that the messages in active queue (if I open them with commands like more, view...) are all for local domains on server, so mailbox-deliver.
    There are sometimes a lot of messages of months ago...
    Thank you very much
    Best Regards
    Marco

    I have Netscape Messaging Server 4.15 Patch 7 (buil
    t Sep 11 2001). I see that the number of messages in active queue viewed as number of file (ls -l queue/messages | wc -l) doesn't matches with the number of messages that I see in Mailbox-deliver as showed by sendmail -bp command.
    Why?
    Very often number of file are few hundred, when the emulator of sendmail shows only twenty-thirty messages.
    And I see that the messages in active queue (if I open them with commands like more, view...) are all for local domains on server, so mailbox-deliver.
    There are sometimes a lot of messages of months ago...
    Thank you very much
    Best Regards
    Marco

  • How to upload header and corresponding item details to application server?

    Hi all,
      How to upload control data , header data and the corresponding data in the application server based on the company code.
    If the user selects multiple company codes like US, GE,IN....3 files need to placed in the application server with the corresponding header and item details. The control data is unique per file.
    Thanks,
    Charan

    For Header and Item data you create separate structure as below...
    Header
    |----Link
    |----
    |----
    !-----Item
                |-----link
                |-------
    (Note the hierarchy- Header str>LINK--> Its fields->ITEM str > LINK under ITEM str->ITEM's fields under ITEM's fields.)
    Header part will have all header fields. Item will come under Header and all ITEM's fields will come under Item.
    Both HEADER and ITEM will have field LINK -- Char 003 which will allow all ITEMs for a HEADER to fall under proper Header data..
    Header and Item Structure will have different files as per the sequence of the fileds..
    Map the fields properly..
    It will work...
    If its helpful to you don't forget to reward the pts..
    Edited by: sumesh on May 19, 2008 4:28 PM

  • Snow leopard and envelopes from address book

    I was able to print out an entry from my address book onto an envelope--easily and intuitively even
    for an over sized envelope. However, I can't figure out how to get both the return address name (mine) and the recipient's name to print with first name before last name. How do I do this?

    Go to preferences int the address book. Select 'general' tab and you should see option to display first name before or after last name. Select the way you want.
    Then select an entry, go to print... select 'envelope' and you should be able to see a preview of how it will print. Cheers!!
    Message was edited by: Meherally

Maybe you are looking for