This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Custom Filter for Identifying Specific Words in Emails | |
# This filter blocks emails containing certain spam-related keywords. | |
# Exim filter to match specific words in the email body text | |
# (?i) makes the match case insensitive | |
if $body_text matches "(?i)Viagra|pussy|sex|sexy|****|porno|girlfriend|keylogger|Cialis|hacked|garantie|sexual|Levtira|antiviruses|bored|sexo|pornografia|hackeado" | |
then | |
# Block the email with a custom message | |
fail text "Mensagem bloqueada devido à nossa política anti-spam." | |
# Mark the message as processed and stop further filtering |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# Copyright 2006-2018, Way to the Web Limited | |
# URL: http://www.configserver.com | |
# Email: [email protected] | |
############################################################################### | |
Installation | |
============ | |
Installation is quite straightforward: |
OlderNewer