Re: Postfix built-in MIME parser

2016-06-08 Thread Viktor Dukhovni
> On Jun 7, 2016, at 6:29 PM, Bill Cole > wrote: > > So if you had an idiosyncratic boundary string from whatever your problem > source is (so that you could write a regular expression sure to match nothing > else) AND if you can figure out a way to get body_checks to PREPEND a blank > line,

Re: Postfix built-in MIME parser

2016-06-08 Thread Luca Fornasari
On Wed, Jun 8, 2016 at 12:29 AM, Bill Cole wrote: > I'm hesitant to disagree with Wietse, but as I read the MIME specification > it seems to me that the missing blank line is *before* the boundary line. If > you add a blank line *after* the boundary you are making the MIME headers > that follow ju

Re: Postfix built-in MIME parser

2016-06-07 Thread Bill Cole
On 7 Jun 2016, at 11:48, Luca Fornasari wrote: On Tue, Jun 7, 2016 at 5:18 PM, Wietse Venema wrote: [...] You could use an SMTP-based filter that adds a blank after a boundary line. Google for smtpprox, and configure it as a Postfix smtpd_proxy_filter Better, give it to the folks up-streeam

Re: Postfix built-in MIME parser

2016-06-07 Thread Luca Fornasari
On Tue, Jun 7, 2016 at 5:18 PM, Wietse Venema wrote: > Luca Fornasari: >> In Postfix 2.3.3 the missing blank line was inserted while in Postfix >> 2.6.6 it is not. >> While looking at the source code diffs of src/global/mime_state.c I see >> >> * XXX We don't insert a blank line separ

Re: Postfix built-in MIME parser

2016-06-07 Thread Wietse Venema
Luca Fornasari: > The problem is with missing blank line between MIME boundary and > content in the body of the email i.e. > > --=boundary1= > Content-type: multipart/related; boundary="=boundary2=" > --=boundary2= > Content-type: text/html;charset="iso-8859-1" > > Segue tabella HTML > > 1A1B1C

Re: Postfix built-in MIME parser

2016-06-07 Thread Luca Fornasari
Wietse Venema: > Luca Fornasari: >> I have an old Postfix 2.3.3 installation where the built-in MIME >> parser is modifying (adjust) wrongly formatted MIME messages while >> relaying them. >> >> This is not happening on a newer Postfix 2.6.6 installation and I >> can't find any configuration parame

Re: Postfix built-in MIME parser

2016-06-07 Thread Wietse Venema
Luca Fornasari: > Greetings everyone, > > I have an old Postfix 2.3.3 installation where the built-in MIME > parser is modifying (adjust) wrongly formatted MIME messages while > relaying them. > > This is not happening on a newer Postfix 2.6.6 installation and I > can't find any configuration par

Postfix built-in MIME parser

2016-06-07 Thread Luca Fornasari
Greetings everyone, I have an old Postfix 2.3.3 installation where the built-in MIME parser is modifying (adjust) wrongly formatted MIME messages while relaying them. This is not happening on a newer Postfix 2.6.6 installation and I can't find any configuration parameter to restore the old behavi