BTW,
for courier-imap (v. 1.7.0) with mysql auth I have a patch for fetch.c 
for <CRLF> support. Having this patch I can use XMail Maildirs to point 
courier there, without any perl oneliners to strip CR. Here it is:
===
--- imap/fetch.c.orig   2002-09-28 20:31:25.000000000 -0400
+++ imap/fetch.c        2003-03-21 23:57:02.000000000 -0500
@@ -940,14 +940,14 @@
        l=0;
        for (j=0; j<i; )
        {
-               if (buf[j] != '\n' && buf[j] != '\r' &&
+               if (buf[j] != '\r' &&
                        !isspace((int)(unsigned char)buf[j]))
                {
                        goodheader= (*headerfunc)(fi, "");

                        for (k=j; k<i; k++)
                        {
-                               if (buf[k] == '\n' || buf[k] == ':')
+                               if (buf[k] == '\r' || buf[k] == ':')
                                        break;
                        }

@@ -958,13 +958,17 @@
                                buf[k]=':';
                        }
                }
-               else if (buf[j] == '\n')
+               else if (buf[j] == '\r')
                        goodheader=0;

                for (k=j; k<i; k++)
-                       if (buf[k] == '\n')
+                       if (buf[k] == '\r')
                        {
                                ++k;
+                               if (buf[k] == '\n')
+                               {
+                                       ++k;
+                               }
                                break;
                        }
===
        Sergey.

Jim wrote:
> Getting Courier + mysql auth to work with xmail was easy.  Also quite
> reliable (been up 3 weeks without any problems)
> 
> Jim
> ----- Original Message -----
> From: "Davide Libenzi" <[EMAIL PROTECTED]>
> To: "XMail mailing list" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 25, 2003 11:53 AM
> Subject: [xmail] Re: IMAP
> 
> 
> 
>>On Tue, 25 Mar 2003, Loris Chiocca wrote:
>>
>>
>>>Hi Davide
>>>
>>>If I was in the middle of a temporal cold war [:)] to which date would I
>>>have to transport myself to get XMail 2 with IMAP support? [*bigsmile*]
>>>
>>>Do you need help of any kind with the implementation? It's just that I'm
>>>keen on getting XMail and IMAP do some nice stuff together.
>>
>>Guys, if IMAP is a very urgent problem for you, why don't you work to make
>>existing IMAP servers to work nicely with XMail ? XMail requires s fairly
>>big restructuring to support IMAP. A lot of new code. Again, if time is
>>your enemy, take a look at existing IMAP servers too. There're vary good
>>ones around ( UW-IMAP for example ).
>>
>>
>>
>>- Davide
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe xmail" in
>>the body of a message to [EMAIL PROTECTED]
>>For general help: send the line "help" in the body of a message to
>>[EMAIL PROTECTED]
>>
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
> 


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to