Bloquear correo por Patrón o Filtrado de Contenido

Both the Pattern filter and the Content Filter allow you to use Regular Expression to match variable text. 

 

The Pattern Filter basically allows you to create custom spam rules.  You can enter Regular Expression patterns and mail containing text that matches the pattern has its spam score modified (+100 for blacklisted patterns and -100 for whitelisted patterns).  You can add patter filters in Filter Rules > Pattern Filtering.  For the specific case you have mentioned the following pattern should work:

 

/(From|Return-Path):.*@.*\.hulk\.uk/

 

If added as follows it will block mail containing a From or Return-Path header ending with .hulk.uk e.g. From: [email protected]

 

 

 

 

 

 

The Content Filter was added it v6.01.  It allows you to delete, redirect, whitelist, quarantine or bounce mail that matches the rule.  You can add content filter rules in Content Filtering > Content Filtering.  It is easier to use than the pattern filter as it allows you to test to see if the Regular Expression matches a specific piece of text.

 

 

 

 

The green test filter indicated that the text in the filter matched the Regular Expression.

 

 

Note, you should be very careful when adding new patterns.  A typo or incorrect pattern can lead to legitimate mail being blocked.  If you are unfamiliar with Regular Expression there is a good tutorial here: 

 

http://www.regular-expressions.info/tutorialcnt.html

  • 0 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Artículos Relacionados

Usando el Historial

SpamTitan keeps a record of all mail that it processes and this information is viewable from...

Patrones RegEx de usos comunes

This pattern, if added to Blacklisted Patterns, will block all mail from email addresses...

Cómo buscar un correo en las bitácoras de SpamTitan

This is very useful if you have any False Positives or False Negatives.    Step 1   Go to the...

Análisis de bitácora de correo

The SpamTitan mail log contains all the output from the two main mail processing services,...

Listas Blancas en detalle

SpamTitan tiene varias listas blancas a las que puede agregar direcciones de correo electrónico,...