Changing Subject: Header for bounced messages

Our current version:
imsimta version
Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 9 2008)
libimta.so 7.0-3.01 64bit (built 09:24:13, Dec 9 2008)
Using /opt/sun/comms/messaging64/config/imta.cnf
SunOS mmp-nhm1.its.utas.edu.au 5.10 Generic_138889-06 i86pc i386 i86pc
I am trying to alter the Subject: header for bounced messages, especially mail bounced from our gateway servers for "User unknown" errors. The current Subject: header for such bounces reads:
Delivery Notification: Delivery has failed
I would like this altered to be, say:
Delivery Notification: Remote SMTP server has rejected address
or something similar. Now, I've read the documentation on managing status notification messages, but there seems to be no correlation between the files in ..../config/locale/C and the text being placed in deliery failure messages. For instance, the return_failed.txt file contains the text:'
Your message cannot be delivered to the following recipients:
%R
Yet I can't see this anywhere in the bounced message. Nor any other text from any of these files.
There also seems to be a lack of information on header manipulation in these files.
Thanks for any help,
Dave.

brett_ac wrote:
There also seems to be a lack of information on header manipulation in these files.The manipulation of the notification messages is documented here:
http://docs.sun.com/app/docs/doc/819-4428/bgakm?a=view
Unfortunately the use of the Subject override "$T" flag isn't documented for the NOTIFICATION_LANGUAGE mapping table (although it is for the DISPOSITION_LANGUAGE mapping table -- http://docs.sun.com/app/docs/doc/819-4428/bgalb?a=view).
To replace the header for the "Delivery Notification: Delivery has failed" bounce messages I added the following to the top of the NOTIFICATION_LANGUAGE mapping table in mappings.locale:
NOTIFICATION_LANGUAGE
! Change the subject for "Delivery Notification: Delivery has failed" messages
  failed|*|en*|*|*  $T$IIMTA_TABLE:locale/C/|Delivery$ Notification:$ Remote$ SMTP$ server$ has$ rejected$ address
  failed|*||*|*     $T$IIMTA_TABLE:locale/C/|Delivery$ Notification:$ Remote$ SMTP$ server$ has$ rejected$ addressSee how that goes (make sure to run ./imsimta cnbuild;./imsimta restart before testing).
Regards,
Shane.

Similar Messages

  • How do I change my settings for my messaging on my computer

    How do I change my settings for my messaging on my computer

    Launch the Messages app and go to the Messages>Preferences menu.

  • How can i change alert tone for incoming messages on my ipad, for imessage?

    How can i change alert tone for incoming messages on my ipad, for imessage?

    Settings>Sounds>Text Tones

  • HT204053 how can i change my account for the messages app o my mac? I have my school email and I do not know how that got there i just want to use my apple or iCloud account.

    im having trouble changing my account for the messages app on my mac. im not a mac wiz

    From the menu bar, select
    Messages ▹ Preferences ▹  Accounts
    Sign out of the account. Add another one and sign in.

  • How can I change the icon for incoming messages on iChat?

    I already changed the icon for the ichat app, but whenever i get a new message it reverts back to the original icon with a number on the corner. I have an icon for the alternating messages i just don't know how to change it. HELP?!

    Hi,
    It's a long time since I changed an Icon on anything on my computer.
    The icon for the App is stored in the App and there are two ways to change  it.
    You can do a  Get Info (CMD and i Keys together) on the app itself and then Paste a new icon to the top field.
    The other way is to edit/change the icns file in the App itself.
    Right/Control Click the app and choose Show Package Contents.
    Open the Contents folder then Resources and the iChat.icns file is in there
    I am presuming that if you use the first method - the bit that puts the Red area with the number in it uses something else (possibly the icns file)
    I cannot find any "supply" of the red numbers.  In fact I use Chax (An iChat Add-On) that changes this  to the first part of the first IM that is not read - which suggests the red area is the important bit.
    If you do try to edit the .icns file I would save the Original first.
    8:10 PM      Monday; April 18, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
    Message was edited by: Ralph Johns (UK)

  • Http Header for SOAP message.

    Hello,
    I need to set some custom HTTP Header when i send the SOAP message to an endpoint.
    I tried this..but doesn't solve my requirement.
    SOAPMessage soapmsg = messageFactory.createMessage();
    MimeHeaders mime = soapmsg.getMimeHeaders();
    mime.addHeader("SOAPAction", "xxxx");
    mime.addHeader("Sender", "yyy");
    SOAPMessage reply = connection.call(soapmsg, destination);
    Can anyone please guide me how to set HTTP headers for SOAP?
    Thanks,

    The following snippet is some code froma stand-alone web service client that I use for testing. It picks up an XML as the payload of the web service, wraps it in a SOAP message and fires it at the web service endpoint.
         System.out.println("Create the SOAP message.\n"); 
         MessageFactory messageFactory = MessageFactory.newInstance();
         SOAPMessage message = messageFactory.createMessage();
         System.out.println("Creating a DOM object from the JAXB payload.");
         DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              factory.setValidating(false);
                 factory.setNamespaceAware(true);
         DocumentBuilder parser = factory.newDocumentBuilder();
         Document doc = parser.parse("file:payload.xml");
         //  Add the HTTP headers.
         message.getMimeHeaders().addHeader("User-Agent", "Mozilla/4.0 [en] (WinNT; I)");
         message.getMimeHeaders().addHeader("Host", "localhost:9080");
         message.getMimeHeaders().addHeader("Content-type", "text/xml");
         message.getMimeHeaders().addHeader("SOAPAction", "http://www.xxx.com.au/wsdl/someWebService");
         message.setProperty(SOAPMessage.CHARACTER_SET_ENCODING, "utf-8");
         SOAPEnvelope envelope = message.getSOAPPart().getEnvelope();
         envelope.addNamespaceDeclaration("n", "http://xxx/webService");
         envelope.addNamespaceDeclaration("xsd", "http://www.w3.org/2001/XMLSchema");
         envelope.addNamespaceDeclaration("xsi", "http://www.w3.org/2001/XMLSchema-instance");
         System.out.println("Adding the payload to the SOAP body.\n");
         SOAPBody body = message.getSOAPBody();
         SOAPBodyElement docElement = body.addDocument(doc);
         System.out.println("This is the SOAP message.\n");
         message.writeTo(System.out);
         System.out.println("\nPutting the payload on the wire.\n");
         SOAPConnectionFactory conFactry = SOAPConnectionFactory.newInstance();
         SOAPConnection connection = conFactry.createConnection();          
         URL endpoint = new URL("http://localhost:9080/xxx/services/yyy-webservices");
         SOAPMessage response = connection.call(message, endpoint);
         System.out.println("Payload sent. Closing the connection.\n");
         connection.close();

  • How can I change themes (colors for text message app, calendar app, etc) ???

    Is there a way to change the colors of the calendar, text messaging bubbles, etc. ?
    If NOT, which app is the best one for that purpose ?

    This kind of theming is not quite with us yet for BB10.
    10.3 adds new colouring schemes so there is a possibility it may be with us soon.
    If you've been helped click on , if you've been saved buy the app.
    Developer of stokLocker, Sympatico and Super Sentences.

  • How can I change the ringtone for text messages (sms) at iPhone 4?

    With iPhone 3G it is not possible to change the ringtone with own sounds.
    Can I do it with iPhone 4?

    Yes, you can :-)
    Look at my homepage for ringtone!

  • How to change the number for my messaging

    I have 3 numbers on this account but when I go to my messaging to see the messages I can only view from one number. How do I add the other 2 phone #'s to send and receive msgs on My Verizon?

        Hi MichaelRas!
    I apologize for the confusion! In an effort to see the messages sent and received, you'll have to individually log into each number.
    Thanks,
    AyaniB_VZW
    Follow us on Twitter @VZWSupport

  • How to change the color for the af:messages by skins ?

    Hello All
    How i can change the text color for the af:messages by skins,i want change the color for the messages paragraph not for message header
    Because i know how to change the message header color text by
    .AFErrorTextForeground:alias
    color: Red;
    Error:
    1. You Must Select etc...
    2. Hello All
    i want to change the color nor for the header (Error) ,i want change it for the messages 1 and 2 and its text.
    Regards
    Mohammad Weshah
    )

    Hi Frank
    Unfortunately it dose not work.
    Any another options for this issue .
    Regards
    Mohd.Weshah

  • Change Header for coloumn in PR05

    Hello,
    I am trying to change the header text for a column in PR05 in table PTK03.  Currently this column is blank, it has been requested that we give this column a name.  How do I change the header for the column?

    Hello Roel,
    i think i have an general problem with understanding apex:
    I can edit all the pages with the userinterface from apex (application builder), but for example i don't know the source code when apex is calling an process after header, fetch rows etc. That's why i don't know how to modify to get some specialized things.
    In my case: I'll edit header for one page (actually i'll for each but i don't know how to do this), click on edit page, select footer or header and the fields are empty. Where can i find the entry &APEX_USER?
    All the processes which runs in the background where can i find these?
    yonah

  • IDOC Segment missing for MATMASS Message type

    Through change pointer program for the message type YAUIHUBMATMAS IDOC is triggered.
    1) Change pointers are defined in system for the message type T Code u2013 BD52.
    2) If respective field is changed in material master , this data is stored in change pointers table BDCP.
    3) Background jobs are scheduled every day, which searches for the changes pointer table and triggers the idoc.
    In our case IDOC is getting generated but with one segment missing.
    We have analysed the succesful and failed IDOC and found desrepency is field updation of BDCP table.
    Succesful case contain material number in object value of ZZMDST field where as failed contain some other value.
    Can anyone please help us to guide how the BDCP table is updated and the values are mapped in it or any other suggestion to find why the segment is missing in it.
    Regards,
    Roshni.

    Jürgen L. wrote:
    > I have never seen a YAUIHUBMATMAS IDOC, nor a ZZMDST field .
    > This seems to be home made.
    >
    > You are expecting that standard SAP programs are generating change pointers for your z-fields?
    > Do you see a change history in material master for your z-field?
    >
    >
    > follow the slution from this thread:
    >
    Yes ,This is a Z -field.
    Change pointer is triggering the idoc fo this Z-field but in some cases one segment is missing .
    This is z-field in the basic data view of material master.
    Yes , we have checked the change history in material master for this field it is getting updated there in BDCP table as well but in BDCP table if this field is flagged then object value is not contain material number instead it contain some other number .
    But in case of succesful IDOC the object value is same as material number.
    Regards,
    Roshni

  • "Subject" Heading has dissappeared

    The "Subject" heading in the message viewer has disappeared from Mail 3.6 on the computer of someone here at work.
    I can't find any way of bringing it back.
    Control/click on the headings does not show "Subject" as an option.

    Could it be that the window is too narrow and Subject has disappeared on the right? Try widening the window, and removing or reducing the width of some of the other columns.
    Subject doesn't appear in the control-click list as it is always supposed to be there.
    AK

  • Change a Header with Postfix

    I have a nagging feeling that I can't do this with Postfix, but I thought I would go ahead and ask.
    I use a 4D bulk mail module for sending my permissions-based bulk mail. Unfortunately, the application doesn't add a "real name" to the From: header. As such, my bulk mail is triggering the NOREALNAME score in SpamAssassin and whatever the equivalent there is in other filters. While getting this fixed in the 4D application has been promised by the developers, it generally takes the developer quite a while to make such a fix.
    So, I'm stuck wondering if I could jigger Postfix to change the header for me. In other words ...
    if the From: header = "[email protected]", then change so that the From: header = "Prufrock's Promotions Newsletter <[email protected]>"
    Before ...
    From: [email protected]
    After ...
    From: Prufrock's Promotions Newsletter <[email protected]>
    Is something like this possible?

    As far as I know (not a 100% sure though), postfix can only rewrite the address part of the from header, not the name.
    So it could change [email protected] to [email protected], but not add the name.
    A solution would be to use the content-filter facility of postfix to process mails through an external script. (Same principle as amavisd or dkimproxy).
    HTH,
    Alex

  • How to change bounce message for spam tagged email?

    Hello,
    I'm checking outgoing email messages for spam. I will send bounce to email sender (user from my domain) if message is tagged as positive or suspected spam. ok, I can set it, but how can I change text in bounce message?
    default bounce if mail is tagged as spam is:
    Your message did not reach some or all of the intended recipients.
    Subject: FW: something
    Sent: 7/12/2009 8:33 PM
    The following recipient(s) could not be reached:
    [email protected] on 7/12/2009 8:35 PM
    The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again. If it still fails, contact your system administrator.
    <smtp.domain.com #5.0.0 smtp; 5.x.0 - Message bounced by administrator (delivery attempts: 0)>
    ^^ but there is no information for the sender that message is not possible deliver, because is tagged as spam.
    Is it possible to change this default message?
    (AsyncOS: v6.5.2-101)
    martin

    You are correct that it doesn't appear that the Positive Spam or Suspect Spam setting doesn't appear to give you any leeway on using a different bounce profile/message to whomever you bounce it back to.
    You may want to consider this workaround.
    1. In the Action, change it to "Deliver"
    2. In the Advanced section of both the Positive and Suspect spam, there is a section labeled "Add Custom Header". Add a custom header like the following:
    X-Internal-Spam-Message: true
    3. Then, since this message will still go through the outgoing content filters, you can create an outgoing content filter that looks for the "X-Internal-Spam-Message" header. If that header exist, then the outgoing content filter will match. For the action, you may need to use the "notify()" action and notify the original sender that it could not get delivered since it was detected to be spam. There is an option to attach the original message. The reason you need to use the notify() instead of the bounce() is because bounce doesn't currently have the option to specify which bounce profile to use.
    You can only specify a different bounce profile in the "Mail Policies > Destination Controls".
    Let me know if you have any question.

Maybe you are looking for

  • One apple ID could install how many computer?

    If i purchase new mountian, Could I install 4 computers - all belong to same family.

  • Copy a page from one page group to another

    Hi Is it possible to copy a page from one page group to another? Regards, Lene

  • Cant access a DFS share from a Windows 7 computer

    I am having DFS share access issues with a Windows 7 workstation. My setup is I have 6 windows 7 stations accessing this DFS Share. All computers have the same Administrator password and another User/Password All but 1 are working as they should. The

  • JTextField in a FullScreen JWindow jdk1.4

    I have a problem that must have a simple solution I hope. I have a JWindow wich I run in fullscreen mode, the contentPane of the JWindow contains a JPanel wich contains JButtons, JLabels and JTextFields I have no problem with the JButtons and JLabels

  • Can't connect to Essbase

    Hi all, we installed today Essbase 11.1.1.3 on 64-bit Windows. We are not used to install Essbase but everything went fine and we got everything installed normally. When we try to connect to Essbase Administration Services, we get following error: Ne