Automatically Delete emails which are black listed

Created by Daniel Calkin, Modified on Thu, 30 Jan at 8:27 PM by Daniel Calkin

The default functionality of SpamSentinel is to treat email which matches one of the Black List entries as Spam category C.  Such messages will end up in the standard Quarantine and be included in the end users' daily Quarantined Spam Report.  Some administrators prefer to have any emails they have black listed to instead be deleted.


The solution is to use a Formula After which deletes the Recipients field.  This will allow the Domino Mail Router to cleanly remove the message from mail.box.

 

The following block types share the same value written to the field SpamSentinelMsgType2 and therefore we can't differentiate between them in the formula.  This is usually not a problem.

 

Block Type(s)

SpamSentinelMsgType2 

Global BL Sender

Personal BL Sender

"Blocked Email Address"

Global BL Domain

Personal BL Domain

"Blocked Domain"

BL Subject

BL Subject Substring

"Blocked Subject"

 

Therefore, use the following formula in a Formula After and adjust the syntax if needed:

 

Select SpamSentinelMsgType2 = "Blocked Domain":"Blocked Email Address":"Blocked Subject";

Field Recipients := @DeleteField

 

Alternately, if you already have a Formula After which uses a 'Select @All' you can insert just the following line of formula.

 

Field Recipients := @IF(SpamSentinelMsgType2 = "Blocked Domain":"Blocked Email Address":"Blocked Subject"; @DeleteField; Recipients);

 

 

 

The Domino Router will then simply throw a warning and delete the message from mail.box.  We have been doing a similar deletion using the 'no recipients' technique at a large customer for a long time with no ill effects

 

A black screen with white text

Description automatically generated 

 

 



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article