Sun Java System Messaging Server 6.3 Administration Reference


The options for this command are:




Do purge (clean up) only—do not expire. Remove expunged and expired messages. 


Do expire only—do not purge. 

-f file

Use the expire rules specified in file. All other expire rules are ignored.

When used with the -i option, -f file refers to the expire-rule file to be installed.

Use a full path name to specify file. The expire rules in file must use the same format as the rules in the global expire configuration file.


Install a local expire-rule configuration file. This option must be used with either the -p partition option to specify a message store partition or the -x mailbox option to specify a mailbox. In addition, it must be used with the -f file option to specify the expire rule file to install.


Trial run only—do not perform expire or cleanup. A description of what would happen without this flag is output. 

-v 0|1|2

Log expire statistic. The number specifies the loglevel, where 

0= store level 

2 = mailbox level 

3 = message level 

Messages are logged to the log file by default. When the -d option is used, messages go to stdout.


Display debug output to stdout/stderr.

-p message_store_partition

Expire/Purge the message store partition specified. 

-u user

Expire/Purge the specified user. 

-t num

Maximum number of threads per process. Default is 50.

-r num

Maximum number of threads per partition. Default is 1.

-m num

Maximum number of rules in a policy. Default is 128.

-x mailbox

Name of the mailbox to which the local expire rules apply. This option is used with the -i option to install a local configuration file that will expire messages in the specified mailbox and its sub-folders.