Short of doing a full virus/content scanner, you could try something like:
condition = ${if match{$message_body}{Angebote des Monats}}
in an ACL or router. You must also likely increase/set:
message_body_visible = <somenumber>
as the match will only look through that many bytes. The default is only
500.
Of course, this is a rather simplistic approach and might have some
performance impacts if message_body_visible is large and/or you are trying
to match on several/many strings.
Sent by: exim-users-bounces@???
To: exim-users@???
cc: (bcc: Dan Mitton/YD/RWDOE)
Subject: Re: [exim] Need acl configuration which will allow exim to
analyze the contents of e-mails and to block a messages
LSN: Not Relevant
User Filed as: Not a Record
On Fri, 19 Sep 2008, jojodeparis wrote:
>
> Hello,
> I use exim4 as smtp server on a Debian system. I look for an acl
> configuration which will allow exim to analyze the contents of e-mails
and
> to block messages which have for example "Angebote des Monats" in the
body
> of the message.
> Who can help me please.
>
You may want to ask on the debian exim list, as debian
does config files a bit differently than 'normal exim.
http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
--
--------------------------------------------------------
Dave Lugo dlugo@??? LC Unit #260 TINLC
Have you hugged your firewall today? No spam, thanks.
--------------------------------------------------------
Are you the police? . . . . No ma'am, we're sysadmins.
--
## List details at
http://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/