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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Evgeniy Berdnikov
日付:  
To: exim-users
題目: Re: [exim] Additional line in body when submitting?
On Wed, Jun 01, 2022 at 04:15:18PM +0200, Kamil Jońca via Exim-users wrote:
> %dpkg -S /usr/bin/bsd-mailx
> bsd-mailx: /usr/bin/bsd-mailx


Strace of Debian bsd-mailx (my version is 8.1.2-0.20180807cvs-2)
shows that it does not append newline writing to MTA child process,
it only converts "\n" to "\r\n".

> Created wrapper script:
> --8<---------------cut here---------------start------------->8---
> %cat /etc/exim4/lda     
> #!/bin/sh
> TS=$(date +%s)
> cat - > /tmp/exim-$TS
> cat  /tmp/exim-$TS | /usr/lib/dovecot/dovecot-lda "$@"
> --8<---------------cut here---------------end--------------->8---

...
> Message saved into maildir has no such additional line at end.


Post here output of "hd /tmp/exim-... | tail", pls. And similar hexdump
for relevant file from Dovecot spool after delivery.
--
Eugene Berdnikov