Re: [exim] Additional line in body when submitting?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andrew C Aitchison
Date:  
À: Kamil Jońca
CC: exim-users
Sujet: Re: [exim] Additional line in body when submitting?
On Tue, 31 May 2022, Kamil Jońca via Exim-users wrote:

> I have some instances, which generates mail from stdin
> (ie something like "echo bla|mail root")
> and recently I found that there exists additional empty line in such
> emails, ie instead of
> --8<---------------cut here---------------start------------->8---
> bla
> --8<---------------cut here---------------end--------------->8---
>
> I have
>
> --8<---------------cut here---------------start------------->8---
> bla
>
> --8<---------------cut here---------------end--------------->8---
>
> I am rather confusing with it. Is this intentional?
> KJ


Is this a blank line after every real line or just the last one ?

My guess would be confusion over whether a line ending is being marked
with CRLF or LF. This could be disagreement between echo/shell and mail
rather than just between mail and exim.

-- 
Andrew C. Aitchison                    Kendal, UK
             andrew@???