mailutils 3.5-4 in debian buster not working with as expected anymore

2021-07-09 Thread Jelle de Jong
Hello everybody, I upgraded Debian squeeze to buster and changed our mailutils version and the mailing scripts I have for some automation stopped working. I can not get Content-Disposition set to inline for the text/plain part. I want to have an mail with a plain/text message shown inline (no

Re: mailutils 3.5-4 in debian buster not working with as expected anymore

2021-07-09 Thread Sergey Poznyakoff
Jelle de Jong ha escrit: > What to do to create my plain/text incline message with attached pdf > document? Add a final --content-type=text/plain option: echo -e "$CONTENT" | \ mail.mailutils -s "organization-advies: ($NAMEWITHHOUSENUMBER)" \ -A /root/organization-flyer.pdf

Re: mailutils 3.5-4 in debian buster not working with as expected anymore

2021-07-09 Thread Jelle de Jong
Hello everybody, When trying the following it uses Content-Disposition: attachment instead of Content-Disposition: inline for the text/plain. echo -e "$CONTENT" | mail.mailutils -s "organization-advies: ($NAMEWITHHOUSENUMBER)" -A /root/organization-flyer.pdf -a "BCC: jelledej...@powercraft.

Re: mailutils 3.5-4 in debian buster not working with as expected anymore

2021-07-09 Thread Jelle de Jong
Hello everybody, How do I generate an attachment with the following properties: Content-Type: text/plain; charset=UTF-8; Content-Disposition: inline; Content-Transfer-Encoding: quoted-printable So without name="" added to Content-Type or filename="" to Content-Disposition? I am struggling

Re: mailutils 3.5-4 in debian buster not working with as expected anymore

2021-07-09 Thread Jelle de Jong
Hello everybody, https://datatracker.ietf.org/doc/html/rfc2183#section-2.1 Please see the above RFC about the diffrence between Content-Disposition: inline and Content-Disposition: attachment Either the Content-Disposition: should be removed so the MUA can decide or it should be set to inlin

Re: mailutils 3.5-4 in debian buster not working with as expected anymore

2021-07-09 Thread Sergey Poznyakoff
Jelle de Jong ha escrit: > When trying the following it uses Content-Disposition: attachment > instead of Content-Disposition: inline for the text/plain. You will have to upgrade to mailutils 3.12. It does so by default for message body[1]. Best regards, Sergey [1] http://git.savannah.gnu.org