diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-10-02 17:41:09 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-10-02 17:41:09 +0000 |
commit | 84bc861ea542c95bedf07c317f793c9ba0be3414 (patch) | |
tree | f0f6452b697f57a7d4261700751a503b3dbe2640 | |
parent | c8736933fdb887cf82d99b859c7feb803e2fd3c3 (diff) | |
download | fetchmail-84bc861ea542c95bedf07c317f793c9ba0be3414.tar.gz fetchmail-84bc861ea542c95bedf07c317f793c9ba0be3414.tar.bz2 fetchmail-84bc861ea542c95bedf07c317f793c9ba0be3414.zip |
Mimedecode now defaults to "off".
svn path=/trunk/; revision=2632
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | fetchmail.c | 2 | ||||
-rw-r--r-- | fetchmail.man | 10 | ||||
-rwxr-xr-x | fetchmailconf | 2 |
4 files changed, 11 insertions, 7 deletions
@@ -3,8 +3,10 @@ (The `lines' figures total .c, .h, .l, and .y files under version control.) * Joe Loughry <loughry@uswest.net> sent a patch to handle multihomed machines. +* Changed mimedecode default to `off'; it seems that doing RFC2047 decoding + on headers throws away information that the MUA may need to see. -fetchmail-5.1.0 (Wed Sep 29 11:52:06 EDT 1999), 17827 lines: +fetchmail-5.1.1 (Wed Sep 29 11:52:06 EDT 1999), 17827 lines: * Added workaround, fetchmailconf warning, and FAQ about Novell GroupWise. * Consistently show dummy arguments on manual page. * Fix lexer to permit `antispam -1'. diff --git a/fetchmail.c b/fetchmail.c index 61737774..0905be27 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1000,7 +1000,7 @@ static int load_params(int argc, char **argv, int optind) DEFAULT(ctl->forcecr, FALSE); DEFAULT(ctl->pass8bits, FALSE); DEFAULT(ctl->dropstatus, FALSE); - DEFAULT(ctl->mimedecode, TRUE); + DEFAULT(ctl->mimedecode, FALSE); DEFAULT(ctl->server.dns, TRUE); DEFAULT(ctl->server.uidl, FALSE); DEFAULT(ctl->server.checkalias, FALSE); diff --git a/fetchmail.man b/fetchmail.man index b5238d32..b0ab6339 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -1138,7 +1138,7 @@ dropstatus \& T{ Strip Status and X-Mozilla-Status lines out of incoming mail T} mimedecode \& T{ -Convert quoted-printable to 8-bit in MIME messages (default) +Convert quoted-printable to 8-bit in MIME messages T} no keep -K T{ Delete seen messages from server (default) @@ -1165,7 +1165,7 @@ no dropstatus \& T{ Don't drop Status headers (default) T} no mimedecode \& T{ -Don't convert quoted-printable to 8-bit in MIME messages +Don't convert quoted-printable to 8-bit in MIME messages (default) T} limit -l T{ Set message size limit @@ -1358,8 +1358,10 @@ listener (that includes all of the major MTAs like sendmail), then this will automatically convert quoted-printable message headers and data into 8-bit data, making it easier to understand when reading mail. If your e-mail programs know how to deal with MIME messages, -then this option is not needed (but does no harm). The mimedecode -option is on by default. +then this option is not needed. The mimedecode option is off by +default, because doing RFC2047 conversion on headers throws away +character-set information and can lead to bad results if the encoding +of the headers differs from the body encoding. .PP The `properties' option is an extension mechanism. It takes a string argument, which is ignored by fetchmail itself. The string argument may be diff --git a/fetchmailconf b/fetchmailconf index 72576e04..053895a0 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -214,7 +214,7 @@ class User: self.forcecr = FALSE # Force LF -> CR/LF self.stripcr = FALSE # Strip CR self.pass8bits = FALSE # Force BODY=7BIT - self.mimedecode = TRUE # Undo MIME armoring + self.mimedecode = FALSE # Undo MIME armoring self.dropstatus = FALSE # Drop incoming Status lines self.limit = 0 # Message size limit self.warnings = 0 # Size warning interval |