Hello, Mutt always has been overly verbose with sent MIME headers, stating obvious defaults, even when it's a useless waste of space. The attached patch-1.5.13.ab.send_minimal_mime.3 reduces this verbosity to the strict minimum. It will not generate "Content-Disposition: inline" header when there is no filename, not generate "-Transfer-Encoding:" when it's 7bit, not generate "-Type:" when it's plain Ascii text, and finally not generate "MIME-Version: 1.0" when there are no "Content-*:" headers at all. Of course, Mutt will continue to generate any needed MIME field and usefull parameter. Some friends and me use older versions of this patch since years, and this v3 since some weeks, without any single problem. Warning: It touches crypto code indirectly, where some headers are hashed and signed (both PGP/MIME and S/MIME). I believe and verified it's harmless: What will get signed is eventually the absence of a header, thus a forced default value, and there is no room for tampering. But it needs a TLR seal of approval. Bye! Alain. -- Mutt muttrc tip to send mails in best adapted first necessary and sufficient charset (version for Western Latin-1/Latin-9/CP-850/CP-1252 terminal users): set send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:utf-8"
Attachment:
patch-1.5.13.ab.send_minimal_mime.3.gz
Description: application/gunzip