[exim] Filter fails on emails with Chinese text

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Anthony Honeyfield
Dátum:  
Címzett: exim-users
Tárgy: [exim] Filter fails on emails with Chinese text
#000-

Hi,

We have written a filter that scans the content of an outgoing email looking
for a user-entered job code, in the format #000-

If the job code exists, the email is sent. If not, it is bounced back to
the sender.

We are now communicating with Chinese companies, and have found that emails
we write in Chinese fail the filter test, even if the job code is included.
The key differences between the emails appear to be as follows:

Chinese email:

       charset="gb2312"
 Content-Transfer-Encoding: quoted-printable



English email:

       charset="us-ascii"
 Content-Transfer-Encoding: 7bit



Our filter contains the following line to test for the job number:

if $message_body does not match "(?:#[0-9]{3}-)"

Anybody know what might be happening?

Thanks!

__________________________________________________________________________________________________________
Attention:
This email, together with attachments, is for exclusive and confidential use of by the addressee(s).
Distribution, use or reproduction without written consent is prohibited. Views expressed are those
of the individual unless otherwise stated. Design+Industry does not guarantee this message is free of
errors, interference or viruses. This information is confidential. Mail scanned by MailMarshal.
__________________________________________________________________________________________________________