Imexpire Rule Does Not Match Messages When Using "messageheader"

(Doc ID 2228281.1)

Last updated on JANUARY 30, 2017

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 ?


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms