[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mail works differently on debian 9 and debian 10
From: |
Sergey Poznyakoff |
Subject: |
Re: mail works differently on debian 9 and debian 10 |
Date: |
Thu, 12 Mar 2020 16:43:04 +0200 |
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\<address@hidden\> address@hidden
>
> 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.
Regards,
Sergey