Sun Java System Messaging Server 6.3 Administration Guide

ProcedureTo Configure New-Message and Updated-Message Notifications with Message Headers and Message Bodies

You can add the message headers and message bodies to the text of notification messages sent when there are new or updated email messages.

Including message headers and message bodies is optional; you can include both features, one feature only, or neither feature. The default is to send messages without message headers or message bodies.

  1. Specify the new-message or updated-message notification:


    configutil -o local.store.notifyplugin.jmqnotify.NewMsg.enable -v 1

    configutil -o local.store.notifyplugin.jmqnotify.UpdateMsg.enable -v 1

    where jmqnotify is the name of the plug-in

    and -v 1 enables notifications for these messages. A value of 0 disables notifications.

  2. Specify the maxHeaderSize parameter with a value greater than zero, as in the following example:


    configutil -o local.store.notifyplugin.jmqnotify.maxHeaderSize -v 1024

    where jmqnotify is the name of the plug-in

    and 1024 is the maximum size of the header to be sent. The default value of maxHeaderSize is 0, which sends no header information with the message.

  3. Specify the maxBodySize parameter with a value greater than zero, as in the following example:


    configutil -o local.store.notifyplugin.jmqnotify.maxBodySize -v 1024

    where jmqnotify is the name of the plug-in

    and 5120 is the maximum size of the message body to be sent. The default value of maxBodySize is 0, which sends no body with the message.