V
V
Vyacheslav Barsukov2017-08-03 05:34:37
linux
Vyacheslav Barsukov, 2017-08-03 05:34:37

How to make a rule for filtering messages in Exim?

Good afternoon, we have a server with sites on joomla, wp. Sites often send spam. I wanted to write rules for Exim, which should take stop words from a file and look for them in outgoing mail. If the word is present, discard the letter.
Please tell me how to make this rule. Ran this:

deny message = Your letter contain many spam words!
logwrite = This message contains spam-word ($message_body)
condition = ${lookup{$message_body}lsearch{/etc/exim/blacklist/spam-word}}

but does not plow.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question