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

Góra strony
Delete this message
Reply to this message
Autor: Kamil Jońca
Data:  
Dla: exim-users
Temat: Re: [exim] Additional line in body when submitting?
Evgeniy Berdnikov via Exim-users <exim-users@???> writes:

> On Thu, Jun 02, 2022 at 12:08:38PM +0200, Kamil Jońca via Exim-users wrote:
>> >> hd ~/Maildir/new/1654092174.M969837P1180197.alfa.kjonca  
>> >> 00000180  45 6e 63 6f 64 69 6e 67  3a 20 38 62 69 74 0a 4d  |Encoding: 8bit.M|
>> >> 00000190  65 73 73 61 67 65 2d 49  64 3a 20 3c 45 31 6e 77  |essage-Id: <E1nw|
>> >> 000001a0  4f 77 32 2d 30 30 34 78  31 31 2d 53 50 40 61 6c  |Ow2-004x11-SP@al|
>> >> 000001b0  66 61 2e 6b 6a 6f 6e 63  61 3e 0a 46 72 6f 6d 3a  |fa.kjonca>.From:|
>> >> 000001c0  20 4b 61 6d 69 6c 20 4a  6f 6e 63 61 20 3c 6b 6a  | Kamil Jonca <kj|
>> >> 000001d0  6f 6e 63 61 40 61 6c 66  61 2e 6b 6a 6f 6e 63 61  |onca@???|
>> >> 000001e0  3e 0a 44 61 74 65 3a 20  57 65 64 2c 20 30 31 20  |>.Date: Wed, 01 |
>> >> 000001f0  4a 75 6e 20 32 30 32 32  20 31 36 3a 30 32 3a 35  |Jun 2022 16:02:5|
>> >> 00000200  34 20 2b 30 32 30 30 0a  0a 62 6c 61 0a           |4 +0200..bla.|
>> >> 0000020d

>> >
>> > It would look strange your dovecot-lda strips one "\n" (0a) from tail of
>> > body... However, those files belong to different mails, it could be seen
>> > from their message-ids and timestamps.
>>
>> I do not blame dovecot-lda here.
>> I am almost sure now, that exim "pipe" transport add this line.
>
> Last hexdump is for mail in Dovecot spool, it was received by Exim with
> "local" (executing as local binary) and has no additional "\n" at the end.
> Was this mail delivered with the same "pipe" transport?
> --
> Eugene Berdnikov


There were two emails created the same way:
--8<---------------cut here---------------start------------->8---
echo bla | mail root
--8<---------------cut here---------------end--------------->8---

one was created when exim was configured to use pipe
and other when exim was configure to use maildir in home dir.

KJ

--
http://wolnelektury.pl/wesprzyj/teraz/