[exim] Can Exim filter 'quoted-printable' section of emails?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Anthony Honeyfield
日付:  
To: exim-users
新しいトピック: [exim] Can Exim filter 'quoted-printable' section of emails? - Revised
題目: [exim] Can Exim filter 'quoted-printable' section of emails?
#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.
I suspect that Exim is not reading the message text in a 'quoted-printable'
section of an email.

The key differences between the Chinese and English emails appear to be:

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.
__________________________________________________________________________________________________________