[1489] in Moira
Re: IMAP question
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Sat Mar 25 19:46:54 2000
Message-Id: <200003260046.TAA27895@hodge-podge.mit.edu>
To: "Tom Coppeto" <tom@MIT.EDU>
cc: "Garry Zacheiss" <zacheiss@MIT.EDU>, "Qing Dong" <dongq@MIT.EDU>,
moiradev@MIT.EDU
In-Reply-To: Your message of "Sat, 25 Mar 2000 14:35:36 EST."
<NDBBKHCHPJDKBDPHJLDAAEMJCIAA.tom@mit.edu>
Date: Sat, 25 Mar 2000 19:46:50 -0500
From: Garry Zacheiss <zacheiss@MIT.EDU>
Ok, here are the client and server side changes I mentioned.
This message has the client change, and the change to access_spob will
be sent in a seperate message.
Garry
Index: pobox.c
===================================================================
RCS file: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/clients/moira/pobox.c,v
retrieving revision 1.36
diff -c -r1.36 pobox.c
*** pobox.c 2000/03/25 23:09:42 1.36
--- pobox.c 2000/03/25 23:28:36
***************
*** 462,469 ****
{
free(type);
type = "IMAP";
! if ((box = CreateImapBox(local_user)) == (char *) SUB_ERROR)
! return DM_NORMAL;
}
else
{
--- 462,480 ----
{
free(type);
type = "IMAP";
! switch (YesNoQuestion("Create IMAP filesystem (y/n)", TRUE))
! {
! case TRUE:
! if ((box = CreateImapBox(local_user)) == (char *) SUB_ERROR)
! return DM_NORMAL;
! break;
! case FALSE:
! box = malloc(strlen(local_user) + 4);
! sprintf(box, "%s.po", local_user);
! break;
! default:
! return DM_NORMAL;
! }
}
else
{