Change default handling of Black Listed emails as Spam C

Created by Daniel Calkin, Modified on Mon, 3 Feb at 10:41 PM by Daniel Calkin

Problem

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 be deleted or routed to a Spam D quarantine.


Background Information

SpamSentinel behavior can be modified using Notes Formulas within the SpamSentinel configuration.  This can change how mail is routed even after the message evaluation process has been completed.


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 though for our purposes here.

 

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"

 


Solutions


1.  Automatically Delete emails which are black listed

The easiest way to do this 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 formula in a Formula After will accomplish this.  The syntax can be adjusted 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 

 

 

2.  Route the emails to the Spam D quarantine

If SpamSentinel is installed in a Checking Machine configuration this option is not available.


This can be accomplished using a Formula After which changes the fields used by the SpamSentinel Router application to determine where to move the message once the scan is complete.  Here's an example which will only apply to messages which were blocked based on email address or domain.


Field SpamSentinelMsgType := "Spam-D";
Field SpamS_Router := "D";
Select IsSpam = "Y" & SpamSentinelMsgType2 = "Blocked Email Address":"Blocked Domain";





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