Re: [exim] Anti Asia Spam in system-filter

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tom Kistner
Datum:  
To: Frank Simon
CC: Exim-users, David Woodhouse
Betreff: Re: [exim] Anti Asia Spam in system-filter
David Woodhouse wrote:

> ... or if you _really_ want to keep a copy then use exiscan so that you
> can use 'fakereject' instead of 'deny', and still squirrel it away to
> wherever you want it in your system filter.


You can also use exiscan's MIME ACL to do the job:

deny message = Sorry, noone speaks chinese here
      condition = ${if eq{$mime_charset}{gb2312}{1}{0}}


You can also optionally add "control = fakereject" to that like David
has proposed.

In the DATA ACL, you can only check the main part MIME headers (the
"top" entity), since stock exim does not "see" other MIME parts of the
message.

Check the exiscan docs for more info.

regards,

/tom