Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80630 - net-mail/cyrus-imapd: patch for 8-bit headers
Summary: net-mail/cyrus-imapd: patch for 8-bit headers
Status: RESOLVED DUPLICATE of bug 18706
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-03 13:27 UTC by Holger Hoffstätte
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
updated ebuild with munge8bit patch (cyrus-imapd-2.2.10.ebuild,8.67 KB, text/plain)
2005-02-03 13:28 UTC, Holger Hoffstätte
Details
munge8bit patch, goes into $FILESDIR (cyrus-imapd-2.2.10-munge8bit.patch,3.26 KB, patch)
2005-02-03 13:29 UTC, Holger Hoffstätte
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hoffstätte 2005-02-03 13:27:51 UTC
cyrus-imapd is rather strict with 8 bit characters in headers; since these cannot be converted reliably they are munged to 'X'. The following patch was borrowed from a Mandrake package (http://club.telepolis.com/l.o/cyrus/beta/FILES.2.2.10/) and adds an option 'munge8bit' that lets the 8-bit header pass through unmunged when set to 'no'. 'reject8bit' has to be set to 'no' as well for this to work.
I've applied the patch and can successfully send myself German umlauts in headers (e.g. via shell) which are correctly displayed in Thunderbird (which is set to 8859-1 encoding). No regressions could be observed so far.


Reproducible: Always
Steps to Reproduce:




One way to turn this patch on/off might be through a local 'munge8bit' USE flag;
I'm not sure what the general consensus on local flags is so I left this out for
now.
Comment 1 Holger Hoffstätte 2005-02-03 13:28:38 UTC
Created attachment 50278 [details]
updated ebuild with munge8bit patch
Comment 2 Holger Hoffstätte 2005-02-03 13:29:14 UTC
Created attachment 50279 [details, diff]
munge8bit patch, goes into $FILESDIR
Comment 3 Tuan Van (RETIRED) gentoo-dev 2005-02-03 13:35:19 UTC

*** This bug has been marked as a duplicate of 18706 ***