Hi,
i configured a new rule in the exim acl_smtp_data
section. I want that exim block mail with defined sentences in the body.
The rule looks like:
deny message = STOP!
condition = ${if or { \
{match {${lc:$message_body}}{.*this ist sentence one.*}} \
{match {${lc:$message_body}}{.*this ist sentence two.*}} \
{match {${lc:$message_body}}{.*this ist sentence three.*}} \
}{1}{0}}
The rule ist working but now i have some log output i never seen in my exim log.
Like this:
May 16 15:02:50 mailserver03 exim[26230]: [1\24] 2011-05-16 13:02:50 +0000 1QLxRg-0006p4-5A H=(PC) [xx.xx.xx.xx] F=<aasd@???> rejected after DATA:
May 16 15:02:50 mailserver03 exim[26230]: [2\24] Envelope-from: <aasd@???>
May 16 15:02:50 mailserver03 exim[26230]: [3\24] Envelope-to: <xyz@???>
May 16 15:02:50 mailserver03 exim[26230]: [4\24] <123@???>
May 16 15:02:50 mailserver03 exim[26230]: [5\24] <456@???>
May 16 15:02:50 mailserver03 exim[26230]: [6\24] <mqwe@???>
May 16 15:02:50 mailserver03 exim[26230]: [7\24] <asdfg@???>
May 16 15:02:50 mailserver03 exim[26230]: [8\24] ...
May 16 15:02:50 mailserver03 exim[26230]: [9\24] P Received: from [xx.xx.xx.xx] (helo=PC)
May 16 15:02:50 mailserver03 exim[26230]: [10\24] by mail.server.de with esmtpa (Exim 4.76)
May 16 15:02:50 mailserver03 exim[26230]: [11\24] (envelope-from <aswes@???>)
What are the lines with [2\24] for? I there an error in the rule?
Regards Hans
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro!
https://freundschaftswerbung.gmx.de