Changing Cyrus to accept 8bit subjects
Hello all, I just modified my Cyrus IMAP to make it accept 8 bit subjects without changing it to the letter 'X', I changed these two files: imap/lmtpengine.c imap/message.c I tested it and it seems to work fine. My question is this change safe? I am afraid it might break Cyrus database format. Thanks Rayed
Re: Changing Cyrus to accept 8bit subjects
On Mon, 22 Sep 2003, Rayed Alrashed wrote: I just modified my Cyrus IMAP to make it accept 8 bit subjects without changing it to the letter 'X', I changed these two files: imap/lmtpengine.c imap/message.c I tested it and it seems to work fine. My question is this change safe? I am afraid it might break Cyrus database format. Since the messages aren't really usable anyway, the change is safe. But the messages are meaningless -- without being properly encoded with a character set, 8 bit characters are just as useful as an 'X'. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper
Re: Changing Cyrus to accept 8bit subjects
Actually most of the users just set a default charset and everything works fine with them. I know it breaks the standard, but we have to do it. Rob Siemborski wrote: On Mon, 22 Sep 2003, Rayed Alrashed wrote: I just modified my Cyrus IMAP to make it accept 8 bit subjects without changing it to the letter 'X', I changed these two files: imap/lmtpengine.c imap/message.c I tested it and it seems to work fine. My question is this change safe? I am afraid it might break Cyrus database format. Since the messages aren't really usable anyway, the change is safe. But the messages are meaningless -- without being properly encoded with a character set, 8 bit characters are just as useful as an 'X'. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper
Re: Changing Cyrus to accept 8bit subjects
Could you show me the modification and let me test them? Thanks [EMAIL PROTECTED] Actually most of the users just set a default charset and everything works fine with them. I know it breaks the standard, but we have to do it. Rob Siemborski wrote: On Mon, 22 Sep 2003, Rayed Alrashed wrote: I just modified my Cyrus IMAP to make it accept 8 bit subjects without changing it to the letter 'X', I changed these two files: imap/lmtpengine.c imap/message.c I tested it and it seems to work fine. My question is this change safe? I am afraid it might break Cyrus database format. Since the messages aren't really usable anyway, the change is safe. But the messages are meaningless -- without being properly encoded with a character set, 8 bit characters are just as useful as an 'X'. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper
Re: Changing Cyrus to accept 8bit subjects
I don't have a patch, but it should be fairly easy, just open the two files imap/lmtpengine.c and imap/message.c and search for 'X' (quote X quote) and comment the lines, it should be one line per file. I am using version 2.1.13 and the lines are: lmtpengine.c line 861 message.c line 271 Patrick T. Tsang wrote: Could you show me the modification and let me test them? Thanks [EMAIL PROTECTED] Actually most of the users just set a default charset and everything works fine with them. I know it breaks the standard, but we have to do it. Rob Siemborski wrote: On Mon, 22 Sep 2003, Rayed Alrashed wrote: I just modified my Cyrus IMAP to make it accept 8 bit subjects without changing it to the letter 'X', I changed these two files: imap/lmtpengine.c imap/message.c I tested it and it seems to work fine. My question is this change safe? I am afraid it might break Cyrus database format. Since the messages aren't really usable anyway, the change is safe. But the messages are meaningless -- without being properly encoded with a character set, 8 bit characters are just as useful as an 'X'. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper