Answered my own question... hate embarassing myself by asking dumb things...

I read the code more carefully - then did this (Posting it just in case it
helps someone else):

--- pop3dserver.c.ORIGINAL      Mon Feb  9 07:51:48 2004
+++ pop3dserver.c       Wed Feb 11 01:16:20 2004
@@ -332,7 +332,7 @@
 struct dirent *de;
 struct msglist *m;

-       if ((dirp=opendir("cur")) == 0)
+       if ((dirp=opendir(".POP3/cur")) == 0)
        {
                perror("pop3d");
                return;
@@ -353,7 +353,7 @@
                        perror("malloc");
                        exit(1);
                }
-               strcat(strcpy(m->filename, "cur/"), de->d_name);
+               strcat(strcpy(m->filename, ".POP3/cur/"), de->d_name);
                m->isdeleted=0;
                m->next=msglist_l;
                msglist_l=m;
@@ -922,7 +922,7 @@

 static void purgetmp()
 {
-DIR    *p=opendir("tmp");
+DIR    *p=opendir(".POP3/tmp");
 time_t t;
 struct dirent *de;
 struct stat    stat_buf;
@@ -937,7 +937,7 @@
                if (de->d_name[0] == '.')       continue;
                n=malloc(strlen(de->d_name)+5);
                if (!n) continue;
-               strcat(strcpy(n, "tmp/"), de->d_name);
+               strcat(strcpy(n, ".POP3/tmp/"), de->d_name);
                if (stat(n, &stat_buf) == 0 && stat_buf.st_mtime < t)
                        unlink(n);
                free(n);
@@ -999,7 +999,7 @@
        msglist_l=0;
        msglist_a=0;
        purgetmp();
-       maildir_getnew(".", INBOX, NULL, NULL);
+       maildir_getnew(".POP3/", INBOX, NULL, NULL);
        scancur();
        sortmsgs();
        printf("+OK logged in.\r\n");




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to