My Oracle Support Banner

Imexpire Rule Does Not Match Messages When Using "messageheader" (Doc ID 2228281.1)

Last updated on NOVEMBER 15, 2022

Applies to:

Oracle Communications Messaging Server - Version 7.0.4 and later
Information in this document applies to any platform.


We want to use imexpire with an expirerule like below

Rule1.folderpattern: user/.*
Rule1.messageheader.From: user1@example.test
Rule1.exclusive: no
Rule1.regexp: 1

This rule is tested on the mailbox using imexpire with -n flag (trial run only - do not perform expire) :

/opt/sun/comms/messaging64/bin/imexpire -n -d -u <uid> -f <path-to-expirerule>

The targeted mailbox has a folder which contains a email message that matches the rule, but the command output doesn't show a deleted message for this folder.

What could be wrong ?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.