#940249 mailutils: mailx makes the main body Content-Disposition: attachment in some cases where it should not

Package:
mailutils
Source:
mailutils
Description:
GNU mailutils utilities for handling mail
Submitter:
Daniel Kahn Gillmor
Date:
2021-07-10 12:03:07 UTC
Severity:
normal
#940249#5
Date:
2019-09-14 14:51:31 UTC
From:
To:
Here's what i ran:

$ mailx --mime --attach=tmp/test.gz --return-address=dkg@fifthhorseman.net --subject 'bananas 3' dkg@fifthhorseman.net <<EOF
this is a test

a test maessage with 3 bananas.
EOF
$

here is the RFC822 message that was generated:

#940249#10
Date:
2021-07-10 11:52:14 UTC
From:
To:
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=3a15565050

Can we apply this patch, Sergey suggested switching to version 3.12, but
this seems to be a long way out from being available in Debian stable.

Kind regards,

Jelle de Jong