Hello.
On Wed, Jun 01, 2022 at 06:13:53PM +0200, Kamil Jońca via Exim-users wrote:
> Evgeniy Berdnikov via Exim-users <exim-users@???> writes:
> > Post here output of "hd /tmp/exim-... | tail", pls. And similar hexdump
> > for relevant file from Dovecot spool after delivery.
> > --
> > Eugene Berdnikov
>
> hd /tmp/exim-1654092090
...
> 000001c0 67 3a 20 38 62 69 74 0a 4d 65 73 73 61 67 65 2d |g: 8bit.Message-|
> 000001d0 49 64 3a 20 3c 45 31 6e 77 4f 75 67 2d 30 30 34 |Id: <E1nwOug-004|
> 000001e0 66 4f 77 2d 4b 69 40 61 6c 66 61 2e 6b 6a 6f 6e |fOw-Ki@???|
> 000001f0 63 61 3e 0a 46 72 6f 6d 3a 20 4b 61 6d 69 6c 20 |ca>.From: Kamil |
> 00000200 4a 6f 6e 63 61 20 3c 6b 6a 6f 6e 63 61 40 61 6c |Jonca <kjonca@al|
> 00000210 66 61 2e 6b 6a 6f 6e 63 61 3e 0a 44 61 74 65 3a |fa.kjonca>.Date:|
> 00000220 20 57 65 64 2c 20 30 31 20 4a 75 6e 20 32 30 32 | Wed, 01 Jun 202|
> 00000230 32 20 31 36 3a 30 31 3a 33 30 20 2b 30 32 30 30 |2 16:01:30 +0200|
> 00000240 0a 0a 62 6c 61 0a 0a |..bla..|
>
>
> 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.
In my experiments with dovecot-lda mail body is not changed: no addtions
and no deletetions. Package dovecot-core 1:2.3.18+dfsg1-1+b2 from current
Debian/testing.
You can write similar wrapper script for /usr/sbin/sendmail and compare
input of this binary with resulting mail, passed to dovecot-lda.
--
Eugene Berdnikov