Mailing List Archive

Long boundary in MIME header
Hi,

I have installed postfix, dbmail 2.2.11 and gmime 2.2.23.
It looks like the boundary in MIME header can be a maximum 62 characters
long. Then something (dbmail or gmime or anything else) cut the boundary to
2 lines, like this:

MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary*0="=_65694ae2296c192d43aec4e2=631b8a19-d56b-5110-9c72-07052c91973";
boundary*1="d_="

This is by RFC2231, but MS OUTLOOK is not have implemented this RFC and
all attachments is in mail body.
According to the RFC, boundary can be up to 70 chars long, which is
perfect for me, because i have only 65 chars long boundary in original
email.
When postfix delivering mail through dbmail-lmtpd to dbmail, the boundary
is in original state (65 chars long).

Is any chance to change max. length to 70 chars or disable cutting?
If not is any settings in outlook, which help me?

Thanks for help.
Lubos

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: Long boundary in MIME header [ In reply to ]
On 02/04/2013 05:23 PM, dbmail@alfa95.cz wrote:

> MIME-Version: 1.0
> Content-Type: multipart/alternative;
> boundary*0="=_65694ae2296c192d43aec4e2=631b8a19-d56b-5110-9c72-07052c91973";
> boundary*1="d_="
>
> This is by RFC2231, but MS OUTLOOK is not have implemented this RFC and
> all attachments is in mail body.

This is done by GMime. I'm not sure it can be de-activated.

Are you talking about a very old version of Outlook?


--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin

* Premium Hosting Services and Web Application Consultancy *

www.nfg.nl/info@nfg.nl/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: Long boundary in MIME header [ In reply to ]
On Thu, 14 Feb 2013 14:05:38 +0100, Paul J Stevens <paul@nfg.nl> wrote:
> On 02/04/2013 05:23 PM, dbmail@alfa95.cz wrote:
>
>> MIME-Version: 1.0
>> Content-Type: multipart/alternative;
>>
boundary*0="=_65694ae2296c192d43aec4e2=631b8a19-d56b-5110-9c72-07052c91973";
>> boundary*1="d_="
>>
>> This is by RFC2231, but MS OUTLOOK is not have implemented this RFC and
>> all attachments is in mail body.
>
> This is done by GMime. I'm not sure it can be de-activated.
>
> Are you talking about a very old version of Outlook?

I am trying Outlook 2007 and 2010
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: Long boundary in MIME header [ In reply to ]
Paul J Stevens píše v Čt 14. 02. 2013 v 14:05 +0100:
> On 02/04/2013 05:23 PM, dbmail@alfa95.cz wrote:
>
> > MIME-Version: 1.0
> > Content-Type: multipart/alternative;
> > boundary*0="=_65694ae2296c192d43aec4e2=631b8a19-d56b-5110-9c72-07052c91973";
> > boundary*1="d_="
> >
> > This is by RFC2231, but MS OUTLOOK is not have implemented this RFC and
> > all attachments is in mail body.
>
> This is done by GMime. I'm not sure it can be de-activated.
>
> Are you talking about a very old version of Outlook?
>

Problem affect all MS products: Outlook, Outlook Express, Hotmail…
This is disagreeable for Czech users because the most popular Czech
freemail seznam.cz produces a long boundary.

Marek Černocký

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: Long boundary in MIME header [ In reply to ]
Thanks!

I'll look into it. We no longer use GMime for boundary scanning.

But you wrote:

> I have installed postfix, dbmail 2.2.11 and gmime 2.2.23.

Please note that I do not support dbmail-2.2 any more. And gmime-2.2 is
also unsupported.

That said: I'll update the 3.1 unit-tests to verify that unwanted
multi-line boundaries are not introduced during delivery.


On 09/18/2013 05:12 PM, Marek Černocký wrote:
> Problem affect all MS products: Outlook, Outlook Express, Hotmail…
> This is disagreeable for Czech users because the most popular Czech
> freemail seznam.cz produces a long boundary.


--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin

* Premium Hosting Services and Web Application Consultancy *

www.nfg.nl/info@nfg.nl/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: Long boundary in MIME header [ In reply to ]
Paul J Stevens píše v St 18. 09. 2013 v 17:44 +0200:
> Thanks!
>
> I'll look into it. We no longer use GMime for boundary scanning.
>
> But you wrote:
>
> > I have installed postfix, dbmail 2.2.11 and gmime 2.2.23.
>
> Please note that I do not support dbmail-2.2 any more. And gmime-2.2 is
> also unsupported.

I use dbmail 3.0.2 and I have the same behavior.
If you need testing message, I can send you a e-mail from seznam.cz.


> That said: I'll update the 3.1 unit-tests to verify that unwanted
> multi-line boundaries are not introduced during delivery.
>
>
> On 09/18/2013 05:12 PM, Marek Černocký wrote:
> > Problem affect all MS products: Outlook, Outlook Express, Hotmail…
> > This is disagreeable for Czech users because the most popular Czech
> > freemail seznam.cz produces a long boundary.
>
>


_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: Long boundary in MIME header [ In reply to ]
On 09/18/2013 05:54 PM, Marek Černocký wrote:
>
> I use dbmail 3.0.2 and I have the same behavior.

Mmm, 3.0.2 is also unsupported. You can upgrade to 3.1.6 without any
significant upgrade steps - just one view was modified, so downtime is zero.

> If you need testing message, I can send you a e-mail from seznam.cz.

Please do: zip it first.

--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin

* Premium Hosting Services and Web Application Consultancy *

www.nfg.nl/info@nfg.nl/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: Long boundary in MIME header [ In reply to ]
message.zip contains example with dbmail 3.2.2:

seznam.eml - original message sent from seznam.cz (boundary is 1 line)

dbmail.eml - message exported vi dbmail-export on server (boundary is
splited to 2 lines)

outlook.eml - message exported from Outlook Express (boundary is splited
to 2 lines)

screenshot.png - bad decoded message in Outlook Express

It's problem with ALL MS mail clients - Outlook, Outlook Express,
WinMail, Hotmail/Outlook.com in ALL versions.
I don't know any other email client then Seznam.cz producing so long
boundary string, so this problem affects few users.


Paul J Stevens píše v Čt 19. 09. 2013 v 09:03 +0200:
> On 09/18/2013 05:54 PM, Marek Černocký wrote:
> >
> > I use dbmail 3.0.2 and I have the same behavior.
>
> Mmm, 3.0.2 is also unsupported. You can upgrade to 3.1.6 without any
> significant upgrade steps - just one view was modified, so downtime is zero.
>
> > If you need testing message, I can send you a e-mail from seznam.cz.
>
> Please do: zip it first.
>
> --
> ________________________________________________________________
> Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
>
> * Premium Hosting Services and Web Application Consultancy *
>
> www.nfg.nl/info@nfg.nl/+31.85.877.99.97
> ________________________________________________________________
> _______________________________________________
> DBmail mailing list
> DBmail@dbmail.org
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail