[Dbmail] Error in dbmail-imapd
Using dbmail-imapd with a german outlook express 6.0 makes outlook waiting forever for a response... while trying to create standard folders when initializing the imap account on first login... Log says: Dec 3 12:45:50 dnsc2 dbmail/imap4[4028]: COMMAND: [0039 CREATE "Entw&APw-rfe"] How and where to fix? Greetings from munich/germany Hans
[Dbmail] Error in dbmail-imapd
After testing i found one more character to add: "," and "&" It seems as if oe is escaping special chars with &xxx- and &x,x- ... so array in imap4.c must look like this: const char AcceptedMailboxnameChars[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=/ _&,"; Hans
Re: [Dbmail] Error in dbmail-imapd
Hi hans, could you try the latest CVS? It should be fixed by now. regards roel Hans Kula heeft op dinsdag, 3 dec 2002 om 14:58 (Europe/Amsterdam) het volgende geschreven: "Entw&APw-rfe"
Re: [Dbmail] Error in dbmail-imapd
Hi Roel, The latest CVS contains the following array: const char AcceptedMailboxnameChars[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=/ _.&"; The char "," is missing...this is for the german &szml; char. regards hans - Original Message - From: "Roel Rozendaal - IC&S" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 03, 2002 3:08 PM Subject: Re: [Dbmail] Error in dbmail-imapd > Hi hans, > > could you try the latest CVS? It should be fixed by now. > > regards roel > > Hans Kula heeft op dinsdag, 3 dec 2002 om 14:58 (Europe/Amsterdam) het > volgende geschreven: > > > "Entw&APw-rfe" > > ___ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail >
Re: [Dbmail] Error in dbmail-imapd
Not sure if this is what you need to reference, but http://www.faqs.org/rfcs/rfc2060.html section "5.1.3. Mailbox International Naming Convention" has a pretty good summary of acceptable mailbox name characters. On Wed, 2002-12-04 at 03:22, Hans Kula wrote: > Hi Roel, > > The latest CVS contains the following array: > const char AcceptedMailboxnameChars[] = > "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=/ _.&"; > > The char "," is missing...this is for the german &szml; char. > > regards hans > > > - Original Message - > From: "Roel Rozendaal - IC&S" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, December 03, 2002 3:08 PM > Subject: Re: [Dbmail] Error in dbmail-imapd > > > > Hi hans, > > > > could you try the latest CVS? It should be fixed by now. > > > > regards roel > > > > Hans Kula heeft op dinsdag, 3 dec 2002 om 14:58 (Europe/Amsterdam) het > > volgende geschreven: > > > > > "Entw&APw-rfe" > > > > ___ > > Dbmail mailing list > > Dbmail@dbmail.org > > https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > ___ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail -- Richard Barrington <[EMAIL PROTECTED]>
Re: [Dbmail] Error in dbmail-imapd
Hi Richard, thx for pointing to this rfc... Another point is http://www.faqs.org/rfcs/rfc2045.html which explains the base64 alphabet: 6.8. Base64 Content-Transfer-Encoding This section contians: ... 62 + 63 / (pad) = ...which means that also the "+" character is missing. As stated in http://www.faqs.org/rfcs/rfc2060.html 5.1.3. Mailbox International Naming Convention ... "&" is used to shift to modified BASE64 and "-" to shift back to US- ASCII. All names start in US-ASCII, and MUST end in US-ASCII (that is, a name that ends with a Unicode 16-bit octet MUST end with a "- "). For example, here is a mailbox name which mixes English, Japanese, and Chinese text: ~peter/mail/&ZeVnLIqe-/&U,BTFw- ... regards hans - Original Message - From: "Richard Barrington" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 03, 2002 3:45 PM Subject: Re: [Dbmail] Error in dbmail-imapd > Not sure if this is what you need to reference, but > http://www.faqs.org/rfcs/rfc2060.html section "5.1.3. Mailbox > International Naming Convention" has a pretty good summary of acceptable > mailbox name characters. > > > On Wed, 2002-12-04 at 03:22, Hans Kula wrote: > > Hi Roel, > > > > The latest CVS contains the following array: > > const char AcceptedMailboxnameChars[] = > > "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=/ _.&"; > > > > The char "," is missing...this is for the german &szml; char. > > > > regards hans > > > > > > - Original Message - > > From: "Roel Rozendaal - IC&S" <[EMAIL PROTECTED]> > > To: > > Sent: Tuesday, December 03, 2002 3:08 PM > > Subject: Re: [Dbmail] Error in dbmail-imapd > > > > > > > Hi hans, > > > > > > could you try the latest CVS? It should be fixed by now. > > > > > > regards roel > > > > > > Hans Kula heeft op dinsdag, 3 dec 2002 om 14:58 (Europe/Amsterdam) het > > > volgende geschreven: > > > > > > > "Entw&APw-rfe" > > > > > > ___ > > > Dbmail mailing list > > > Dbmail@dbmail.org > > > https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > > > ___ > > Dbmail mailing list > > Dbmail@dbmail.org > > https://mailman.fastxs.nl/mailman/listinfo/dbmail > -- > Richard Barrington <[EMAIL PROTECTED]> > > ___ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail >
Re: [Dbmail] Error in dbmail-imapd
Hans Kula ([EMAIL PROTECTED]) écrivait: > > >After testing i found one more character to add: "," and "&" > >It seems as if oe is escaping special chars with &xxx- and &x,x- ... > >so array in imap4.c must look like this: > >const char AcceptedMailboxnameChars[] = >"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=/ _&,"; I had posted in the list about this problem 3 or 4 month ago to add the "&" character, I hope this will be done in the 1.0 final. You will find an other bug with Outlook 2000 with the INBOX name in foreign languages, for me french, I write a patch for french language but easy to convert in other language. Let me know if you want to use dbmail with Outlook 2000 I will send you the patch. Sam. -- Sam Przyswa - Chef de projet Arial Concept - Intégrateur Internet 36, rue de Turin - 75008 - Paris Tel: 01 40 54 86 04 - Fax: 01 40 54 83 01 Web: http://www.arial-concept.com - Email: [EMAIL PROTECTED]
Re: [Dbmail] Error in dbmail-imapd
This should have been fixed this afternoon? When i check the source right now.. it seems to be fixed? On dinsdag, dec 3, 2002, at 22:44 Europe/Amsterdam, Sam Przyswa wrote: Hans Kula ([EMAIL PROTECTED]) écrivait: After testing i found one more character to add: "," and "&" It seems as if oe is escaping special chars with &xxx- and &x,x- ... so array in imap4.c must look like this: const char AcceptedMailboxnameChars[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=/ _&,"; I had posted in the list about this problem 3 or 4 month ago to add the "&" character, I hope this will be done in the 1.0 final. You will find an other bug with Outlook 2000 with the INBOX name in foreign languages, for me french, I write a patch for french language but easy to convert in other language. Let me know if you want to use dbmail with Outlook 2000 I will send you the patch. Sam. -- Sam Przyswa - Chef de projet Arial Concept - Intégrateur Internet 36, rue de Turin - 75008 - Paris Tel: 01 40 54 86 04 - Fax: 01 40 54 83 01 Web: http://www.arial-concept.com - Email: [EMAIL PROTECTED] ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail _ E.J.A. van Beek ICT Manager IC&S T: +31 30 2322878 F: +31 30 2322305 PGP-key: www.ic-s.nl/keys/eelco.txt
Re: [Dbmail] Error in dbmail-imapd
Eelco van Beek - IC&S ([EMAIL PROTECTED]) écrivait: > >This should have been fixed this afternoon? > >When i check the source right now.. it seems to be fixed? Yes, thanks ! Hey congratulations for the new website, nice ! What is the seperate daemon to MS Exchange Outlook compatibility, I'm very interested ? Thanks again for the dbmail improvements. Sam. -- Sam Przyswa - Chef de projet Arial Concept - Intégrateur Internet 36, rue de Turin - 75008 - Paris Tel: 01 40 54 86 04 - Fax: 01 40 54 83 01 Web: http://www.arial-concept.com - Email: [EMAIL PROTECTED]
Re: [Dbmail] Error in dbmail-imapd
It is fixed... Thx I've made some tests with outlook and outlook express and it works fine. Creation of folders with spezial chars in any language should now work perfekt... regards hans :-) - Original Message - From: "Eelco van Beek - IC&S" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 04, 2002 12:12 AM Subject: Re: [Dbmail] Error in dbmail-imapd This should have been fixed this afternoon? When i check the source right now.. it seems to be fixed? On dinsdag, dec 3, 2002, at 22:44 Europe/Amsterdam, Sam Przyswa wrote: > Hans Kula ([EMAIL PROTECTED]) écrivait: >> >> >> After testing i found one more character to add: "," and "&" >> >> It seems as if oe is escaping special chars with &xxx- and &x,x- ... >> >> so array in imap4.c must look like this: >> >> const char AcceptedMailboxnameChars[] = >> "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=/ >> _&,"; > > I had posted in the list about this problem 3 or 4 month ago to add > the "&" > character, I hope this will be done in the 1.0 final. You will find an > other bug > with Outlook 2000 with the INBOX name in foreign languages, for me > french, I write > a patch for french language but easy to convert in other language. > > Let me know if you want to use dbmail with Outlook 2000 I will send > you the patch. > > Sam. > -- > Sam Przyswa - Chef de projet > Arial Concept - Intégrateur Internet > 36, rue de Turin - 75008 - Paris > Tel: 01 40 54 86 04 - Fax: 01 40 54 83 01 > Web: http://www.arial-concept.com - Email: [EMAIL PROTECTED] > > > ___ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail > _ E.J.A. van Beek ICT Manager IC&S T: +31 30 2322878 F: +31 30 2322305 PGP-key: www.ic-s.nl/keys/eelco.txt ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
Re: [Dbmail] Error in dbmail-imapd
Hans Kula ([EMAIL PROTECTED]) écrivait: > >It is fixed... >Thx > >I've made some tests with outlook and outlook express and it works fine. >Creation of folders with spezial chars in any language should now work >perfekt... This bug appear only with Outlook 2000, we have found an other bug with Outlook Express, if you have a mail with accentued characters in the Subject: field as "éèà" this mail don't appear in Outlook Express, we don't know why ??? Sam. -- Sam Przyswa - Chef de projet Arial Concept - Intégrateur Internet 36, rue de Turin - 75008 - Paris Tel: 01 40 54 86 04 - Fax: 01 40 54 83 01 Web: http://www.arial-concept.com - Email: [EMAIL PROTECTED]
Re: [Dbmail] Error in dbmail-imapd
Well that's an outlook thing. Folders are imap stuff, the messages are just stored and retrieved without any intervention. regards roel Sam Przyswa heeft op woensdag, 4 dec 2002 om 11:50 (Europe/Amsterdam) het volgende geschreven: Hans Kula ([EMAIL PROTECTED]) écrivait: It is fixed... Thx I've made some tests with outlook and outlook express and it works fine. Creation of folders with spezial chars in any language should now work perfekt... This bug appear only with Outlook 2000, we have found an other bug with Outlook Express, if you have a mail with accentued characters in the Subject: field as "éèà" this mail don't appear in Outlook Express, we don't know why ??? Sam. -- Sam Przyswa - Chef de projet Arial Concept - Intégrateur Internet 36, rue de Turin - 75008 - Paris Tel: 01 40 54 86 04 - Fax: 01 40 54 83 01 Web: http://www.arial-concept.com - Email: [EMAIL PROTECTED] ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
Re: [Dbmail] Error in dbmail-imapd
Roel Rozendaal - IC&S ([EMAIL PROTECTED]) écrivait: > >Well that's an outlook thing. Folders are imap stuff, the messages are >just stored and retrieved without any intervention. On Outlook Express we use the "headers only" to only store the messages header not the whole message. The same mail on Courier-IMAP appear without problem in Outlook Express ?! >Sam Przyswa heeft op woensdag, 4 dec 2002 om 11:50 (Europe/Amsterdam) >het volgende geschreven: >> This bug appear only with Outlook 2000, we have found an other bug >> with Outlook >> Express, if you have a mail with accentued characters in the Subject: >> field >> as "éèà" this mail don't appear in Outlook Express, we don't know why >> ??? Sam.
Re: [Dbmail] Error in dbmail-imapd
See the patch below that Klas patched yesterday. It fixes this problem. The bug occurs in quoted_string_out in imaputil.c which quotes strings. Quite a number of email clients (like outlook express) doesn't like how dbmail was quoting it. This meant outlook express wouldn't show them. There is still a bug in show_address_list in imaputil.c in the line saying fprintf(outstream,"%c",mr->value[i]); where mr-value[i] can be a "special character" (but as we have already put a " at the beginning of this quoting we cannot go {1}\015\012%s), But Klas is working on it.. Thanks Craig int quoted_string_out(FILE *outstream, const char *s) { int i,cnt; for (i = 0; i < strlen(s); i++) { // check if must use literal if (!(s[i] & 0xe0) || (s[i] & 0x80) || (s[i] == '"') || (s[i] == '\\')) { cnt = fprintf(outstream, "{"); cnt += fprintf(outstream, "%i", strlen(s)); cnt += fprintf(outstream, "}\015\012"); cnt += fprintf(outstream, "%s", s); return cnt; } } cnt = fprintf(outstream, "\""); cnt += fprintf(outstream, "%s", s); cnt += fprintf(outstream, "\""); return cnt; ----- Original Message - From: "Sam Przyswa" <[EMAIL PROTECTED]> To: Sent: Friday, December 06, 2002 3:06 AM Subject: Re: [Dbmail] Error in dbmail-imapd > Roel Rozendaal - IC&S ([EMAIL PROTECTED]) écrivait: > > > >Well that's an outlook thing. Folders are imap stuff, the messages are > >just stored and retrieved without any intervention. > > On Outlook Express we use the "headers only" to only store the messages header not > the whole message. The same mail on Courier-IMAP appear without problem in Outlook > Express ?! > > >Sam Przyswa heeft op woensdag, 4 dec 2002 om 11:50 (Europe/Amsterdam) > >het volgende geschreven: > >> This bug appear only with Outlook 2000, we have found an other bug > >> with Outlook > >> Express, if you have a mail with accentued characters in the Subject: > >> field > >> as "éèà" this mail don't appear in Outlook Express, we don't know why > >> ??? > > Sam. > > ___ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail > >
Re: [Dbmail] Error in dbmail-imapd
Craig Whitmore ([EMAIL PROTECTED]) écrivait: > >See the patch below that Klas patched yesterday. It fixes this problem. The >bug occurs in quoted_string_out in imaputil.c which quotes strings. Quite a >number of email clients (like outlook express) doesn't like how dbmail was >quoting it. This meant outlook express wouldn't show them. > >There is still a bug in show_address_list in imaputil.c in the line saying >fprintf(outstream,"%c",mr->value[i]); where mr-value[i] can be a "special >character" (but as we have already put a " at the beginning of this quoting >we cannot go \015\012%s), But Klas is working on it.. Yes, that's work fine now, thanks to you and to Klas ! Sam.
Re: [Dbmail] Error in dbmail-imapd
Hi, thanks, code has been added to cvs :) regards roel Craig Whitmore heeft op donderdag, 5 dec 2002 om 19:44 (Europe/Amsterdam) het volgende geschreven: See the patch below that Klas patched yesterday. It fixes this problem. The bug occurs in quoted_string_out in imaputil.c which quotes strings. Quite a number of email clients (like outlook express) doesn't like how dbmail was quoting it. This meant outlook express wouldn't show them. There is still a bug in show_address_list in imaputil.c in the line saying fprintf(outstream,"%c",mr->value[i]); where mr-value[i] can be a "special character" (but as we have already put a " at the beginning of this quoting we cannot go {1}\015\012%s), But Klas is working on it.. Thanks Craig int quoted_string_out(FILE *outstream, const char *s) { int i,cnt; for (i = 0; i < strlen(s); i++) { // check if must use literal if (!(s[i] & 0xe0) || (s[i] & 0x80) || (s[i] == '"') || (s[i] == '\\')) { cnt = fprintf(outstream, "{"); cnt += fprintf(outstream, "%i", strlen(s)); cnt += fprintf(outstream, "}\015\012"); cnt += fprintf(outstream, "%s", s); return cnt; } } cnt = fprintf(outstream, "\""); cnt += fprintf(outstream, "%s", s); cnt += fprintf(outstream, "\""); return cnt; ----- Original Message - From: "Sam Przyswa" <[EMAIL PROTECTED]> To: Sent: Friday, December 06, 2002 3:06 AM Subject: Re: [Dbmail] Error in dbmail-imapd Roel Rozendaal - IC&S ([EMAIL PROTECTED]) écrivait: Well that's an outlook thing. Folders are imap stuff, the messages are just stored and retrieved without any intervention. On Outlook Express we use the "headers only" to only store the messages header not the whole message. The same mail on Courier-IMAP appear without problem in Outlook Express ?! Sam Przyswa heeft op woensdag, 4 dec 2002 om 11:50 (Europe/Amsterdam) het volgende geschreven: This bug appear only with Outlook 2000, we have found an other bug with Outlook Express, if you have a mail with accentued characters in the Subject: field as "éèà" this mail don't appear in Outlook Express, we don't know why ??? Sam. ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail ___ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail