Sun Java System Messaging Server 6.3 Administration Guide

ProcedureTo Configure Deleted-Message Notifications with Message Headers

You can add the message headers to the text of notification messages sent when email messages are deleted.

Including message headers is optional. The default is to send notifications without message headers.

  1. Enable notifications to be sent when email messages are deleted:


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

    where jmqnotify is the name of the plug-in

    and -v 1 enables notifications for this message. A value of 0 disables notifications.

  2. Specify the ExpungeHeaders parameter:


    configutil -o local.store.notifyplugin.jmqnotify.ExpungeHeaders -v 1

    where jmqnotify is the name of the plug-in

    and -v 1 enables message headers to be carried with deleted-message notifications. The default value of ExpungeHeaders is 0, which prohibits deleted-message notifications from carrying header information.

    You must configure the ExpungeHeaders parameter to enable DeleteMsg messages to carry message headers.

  3. 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.