Cyrus 2.2?

Henrique de Moraes Holschuh hmh at
Fri May 9 14:41:46 EDT 2003

On Fri, 09 May 2003, Christian Schulte wrote:
> >And since nobody of the people who constantly ask for it stepped ahead
> >to write the patch that does the header encodingbased on a admin-supplied 
> >default charset...
> >
> What do you mean should that patch do exactly ? Do you mean that if an 
> email does not specify an encoding it should automatically set an 

if a *header*...

> encoding which can be specified in imapd.conf ? So there would be no 

yes. And re-encode that header, so that it is now 7bit.

> actual mail-translation or anything like that ? Only if the encoding is 
> _not_ specified cyrus will set it to a default and leaves the mail 

Only if a X would be needed (or the email would be rejected), is the
header re-encoded.

> untouched otherwise ? What email-headers are you talking about exactly ? 

Read RFC 2047.  Some headers can be encoded to have 8bit data (encoded as 7
bit).  Headers that cannot be encoded should be mangled, or the message

IMHO the functionality should be like this:

[We detect a header has 8bit data]
  IF header-can-be-RFC2047-encoded AND
     default header encoding charset is set THEN reencode it
     mangle it to X or reject message, as usual.

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

More information about the Info-cyrus mailing list