Hi, thanks for your reply, i am really glad the problem doesn't origin in my stupidity.
I share Jordi's view and it would be great to find the bugfix in the official debian repositories. So thank you for your efforts in advance, Jordi. And because there is no need right now to migrate our servers running those scripts to debian 10, i will migrate the other servers first in hope the bugfix is out afterwards. Therefore i wouldn't try to recompile mailutils yet. If i have to do that in the future and need help, i will contact you, Sergey. Thanks for that, too. Best regards Jan Kersten Hochschule Hannover Fakultät IV Abteilung Informatik Campus Linden – Gebäude H Raum 1H.2.04A Ricklinger Stadtweg 120 30459 Hannover Tel.: +49 (0)511 9296-1837 e-Mail: jan.kers...@hs-hannover.de -----Ursprüngliche Nachricht----- Von: Jordi Mallach [mailto:jo...@mallach.net] Gesendet: Donnerstag, 12. März 2020 19:02 An: Sergey Poznyakoff; Kersten, Jan Cc: bug-mailutils@gnu.org Betreff: Re: mail works differently on debian 9 and debian 10 Hi, El dj. 12 de 03 de 2020 a les 16:43 +0200, en/na Sergey Poznyakoff va escriure: > Hi Jan, > > > There is a working bash script on debian 9 which sends an email > > using this command: > > echo "Content" | mail -s "Subject" -A $PATH_TO_ATTACHMENT > > -aFrom:Servername\<servern...@hs-hannover.de\> > > jan.kers...@hs-hannover.de > > > > The mail is working as expected and the content is used as the > > mailbody. > > The same command works different on debian 10. There is the content > > not used as the mailbody but attached as the file ATT00001.txt > > Debian 9 ships with mailutils 3.1 whereas Debian 10 ships with > version > 3.5. What you observe is the effect of the bug 54992, introduced in > version 3.4. See https://savannah.gnu.org/bugs/index.php?54992 for > the > details. > > The bug was fixed on 2019-12-15. I haven't had enough time to roll > out > a new release since then (though I hope to do so soon), so the best > course of action would be to recompile mailutils from Git HEAD. Drop > me > a note if you need any assistance with that. This looks like something that would get accepted by the Debian release managers as an "high impact" bugfix for stable. I'll look into it. Jordi -- Jordi Mallach <jo...@mallach.net>