I have the same problem with the difference that the mail body is added as an attachment too. This only happens if using mail with attachments as descriped above.
I think this problem is solved from mail --version 3.9-7 upwards and related to this debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940249 which refers to https://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=3a15565050 From my point of view, this is an important bug, because an email with text and attachments are quiet common and Ubuntu 20.04 is a LTS version. Information and other users having the same problem refer to https://askubuntu.com/questions/1332777/mail-mime-version-and-content- type-not-setting-header-mail-behavior-different https://stackoverflow.com/questions/68470553/behavior-of-sending-email- with-text-and-body-changed-in-ubuntu-20-04-for-mail- fr?noredirect=1#comment121019249_68470553 ** Bug watch added: Debian Bug tracker #940249 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940249 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911894 Title: mail tool ignores body text from stdin if attachment is added To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mailutils/+bug/1911894/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs