[Linux-disciples] Changing quoted-printable encoding in mutt

Stephen R Laniel steve at laniels.org
Wed Sep 14 09:46:05 EDT 2005


On Wed, Sep 14, 2005 at 09:37:11AM -0400, Adam Rosi-Kessel wrote:
> Mutt doesn't do that; it's at the MTA stage. (I think. Prove me wrong,
> though).

I just thought of a reason why, if mutt doesn't handle this
encoding, it should: PGP signatures. If I include the word
'From' at the beginning of a line, then mutt calls out to
gnupg and signs the message, and only *then* does the MTA
encode the 'From', the PGP signature will no longer be
valid. This suggests that either PGP or mutt ought to fix
the quoted-printable part of the message. Maybe PGP already
does. Here's a test:

From -- this line begins with from. Let's see how mutt/the
MTA/gnupg handle it.

Also, mutt has an 'encode_from' option, turned off, by
default, which controls whether mutt handles this:
http://www.mutt.org/doc/manual/manual-6.html

" encode_from

Type: boolean
Default: no

When set, mutt will quoted-printable encode messages when
they contain the string "From " in the beginning of a line.
Useful to avoid the tampering certain mail delivery and
transport agents tend to do with messages. "

It doesn't appear to be customizable, however, such that I
could use ' ' instead of '>'.

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050914/d5d5d3da/attachment.pgp


More information about the Linux-disciples mailing list