Re: [exim] Can Exim filter 'quoted-printable' section of ema…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Anthony Honeyfield
Date:  
À: exim-users
Sujet: Re: [exim] Can Exim filter 'quoted-printable' section of emails? -Revised
> Can you show an example of the failing mail, as it appears on the queue?
> I don't see why QP would mangle your job code.


Below is a copy of the bounced email. The job code was "#640-". The
problem seems to be in the area:

=C0=D7=CF=C8=C9=FA=A3=AC</SPAN><o:p></o:p></FONT></P>
<P class=3DMsoNormal><FONT face=3DSimSun size=3D3><SPAN lang=3DZH-CN=20
style=3D"FONT-SIZE: = 12pt">=C4=FA</SPAN></FONT></P>

...because if I leave off the last chinese character (which is on a new
line), this area looks totally different, and is passed by the script. It
looks like this:

=1B$BMk@h@8!$=1B(B</SPAN><o:p></o:p></FONT></P></DIV></DIV></BODY><=/HTML>

Here is a copy of the full email:


Return-path: <me@???>
Received: from [192.168.2.39] (port=1264 helo=machine_name)
    by mail.myplace.com.au with esmtp (Exim 4.22)
    id 1HyyvC-000478-OM
    for external@???; Fri, 15 Jun 2007 09:40:10 +1000
Reply-To: <me@???>
From: "Anthony" <me@???>
To: <external@???>
Subject: test
Date: Fri, 15 Jun 2007 09:40:13 +1000
Organization: MyPlace Pty Ltd
Message-ID: <004a01c7aedf$6c7b04d0$2702a8c0@???>
MIME-Version: 1.0
Content-Type: multipart/alternative;
    boundary="----=_NextPart_000_004B_01C7AF33.3E2714D0"
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
Thread-Index:
AcemeDilyeTFzYd9RkaWKLv2luIMyQAEXYvAAABtTqAAkcL4UAAABS4gAYM3MZA=


This is a multi-part message in MIME format.

------=_NextPart_000_004B_01C7AF33.3E2714D0
Content-Type: text/plain;
    charset="gb2312"
Content-Transfer-Encoding: base64


IzY0MC0NCg0KIA0KDQrA18/IyfqjrA0KDQrE+g0KDQo=

------=_NextPart_000_004B_01C7AF33.3E2714D0
Content-Type: text/html;
    charset="gb2312"
Content-Transfer-Encoding: quoted-printable


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML
xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20
"urn:schemas-microsoft-com:vml" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.5730.11" name=3DGENERATOR><!--[if !mso]>
<STYLE>v\:* {
    BEHAVIOR: url(#default#VML)
}
o\:* {
    BEHAVIOR: url(#default#VML)
}
w\:* {
    BEHAVIOR: url(#default#VML)
}
.shape {
    BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
    font-family: SimSun;
}
@font-face {
    font-family: Tahoma;
}
@font-face {
    font-family: @SimSun;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt =
90.0pt; } P.MsoNormal {
    FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: SimSun }
LI.MsoNormal {
    FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: SimSun }
DIV.MsoNormal {
    FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: SimSun } A:link {
    COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink {
    COLOR: blue; TEXT-DECORATION: underline } A:visited {
    COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed
{
    COLOR: blue; TEXT-DECORATION: underline } P {
    FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: =
SimSun; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto }
SPAN.EmailStyle18 {
    COLOR: black; mso-style-type: personal
}
SPAN.EmailStyle19 {
    COLOR: black; mso-style-type: personal
}
SPAN.EmailStyle20 {
    COLOR: black; mso-style-type: personal
}
SPAN.EmailStyle22 {
    COLOR: black; mso-style-type: personal-reply }
DIV.Section1 {
    page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dblue link=3Dblue> <DIV dir=3Dltr
align=3Dleft><FONT face=3DTahoma color=3Dblue = size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: =
Tahoma">#640-<o:p></o:p></SPAN></FONT></DIV>
<DIV class=3DSection1>
<DIV>
<P class=3DMsoNormal><FONT face=3DTahoma color=3Dblue size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: =
Tahoma"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DSimSun size=3D3><SPAN lang=3DZH-CN=20
style=3D"FONT-SIZE: =
12pt">=C0=D7=CF=C8=C9=FA=A3=AC</SPAN><o:p></o:p></FONT></P>
<P class=3DMsoNormal><FONT face=3DSimSun size=3D3><SPAN lang=3DZH-CN=20
style=3D"FONT-SIZE: =
12pt">=C4=FA</SPAN></FONT></P></DIV></DIV></BODY></HTML>


------=_NextPart_000_004B_01C7AF33.3E2714D0--