On Tue, Jun 7, 2016 at 5:18 PM, Wietse Venema <wie...@porcupine.org> 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 separator into attachments, >> to >> * avoid breaking digital signatures. Postfix shall not do a >> * worse mail delivery job than MTAs that can't even parse MIME. >> [...] >> * Sites concerned about MIME evasion can use a MIME normalizer. >> * Postfix has a different mission. >> >> Can you confirm this is the reason of the different behavior? > > I made that change 10 years ago. At this point, all I can rely on > is what the documentation says.
[...] > 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 who produce the malformed > email, and ask that they send their mail through it. Thanks Wietse for your precious help. Cheers, Luca