My Oracle Support Banner

Creating An MTA-Wide Filter For Spam Using Unified Config (Doc ID 2170427.1)

Last updated on JULY 01, 2022

Applies to:

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


The goal is to create a system-wide sieve filter which will insert spam into the user's SPAM folder.

The configured spam scanners insert a header of "X-Brightmail-Spam" with a value of "SpamN" in email found as spam.
Following the Messaging Server System Administrator's Guide, the /opt/sun/comms/messaging64/config/imta.filter file was created with the following content:

The imta.filter file was world readable (-rw-r--r--).
The Messaging Server config was recompiled and the dispatcher was restarted:

# sbin/imsimta cnbuild
# sbin/imsimta chbuild
# sbin/imsimta restart

But, the filter seems to be inoperative -- spam email with the spam header/value correctly set by scanners are delivered to the INBOX, instead of the SPAM folder.

The same filter is working in an older installation of Messaging Server ( with legacy configuration.




To view full details, 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 a vibrant support community of peers and Oracle experts.