Ok found that this ist the reject log format.
Sorry wasting your time.

Is it possible to store the senteces in a file and use a kind of lsearch?
I tried it but can't get it work.

Regards Hans

-------- Original-Nachricht --------
> Datum: Mon, 16 May 2011 15:25:06 +0200
> Von: "Hans Klose" <[email protected]>
> An: [email protected]
> Betreff: [exim] Exim Log File

> 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=<[email protected]> rejected after
> DATA:
> May 16 15:02:50 mailserver03 exim[26230]: [2\24] Envelope-from:
> <[email protected]>
> May 16 15:02:50 mailserver03 exim[26230]: [3\24] Envelope-to:
> <[email protected]>
> May 16 15:02:50 mailserver03 exim[26230]: [4\24]     <[email protected]>
> May 16 15:02:50 mailserver03 exim[26230]: [5\24]     <[email protected]>
> May 16 15:02:50 mailserver03 exim[26230]: [6\24]     <[email protected]>
> May 16 15:02:50 mailserver03 exim[26230]: [7\24]     <[email protected]>
> 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
> <[email protected]>)
> 
> 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
> 
> -- 
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to