Aleksander wrote:
> Hi,
> 
> I have a problem, where dspam delivers mail to dbmail via lmtp, but is
> using only LF linebreaks in the body. Seams dbmail detects newlines with
> CRLF and only then does dot-stripping.

Well, actually it's gmime doing the stripping.

> 
> Right now Quoted Printable PDF attachments are mangled due to this problem.
> 
> Is my assumption correct? If so, could anyone point me to the
> dot-stripping function in dbmail 2.2 series? I'd like to try "fixing"
> this on dbmail side, as this would be more convenient and efficient to
> do in dbmail than in dspam.

Why? Since you asked though:

dbmail-message.c, _set_content_from_stream

> 
> Any reason, why CRLF is required?

Because all the relevant RFCs says so. If dspam is sending data with LF
only, that's a dspam violation of the smtp rfc.

http://www.rfc-editor.org/EOLstory.txt

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to