|
----- Original Message ----- From: Federico Barbieri <[EMAIL PROTECTED]> To: Java Apache Mail Server <[EMAIL PROTECTED]> Sent: Wednesday, June 21, 2000 11:40 AM Subject: Re: User manager > > Christophe Marchal wrote: > > > > Hello, > > > > I try to use the remote manager with a TCP/IP connection (like the > > conection to the POP server). > > I know it is only in developpement step but I have some comment: > > - Could you please put a final . as the last line of the LISTUSERS > > just like the POP3 command (list, top,...) > > I don't really love POP3 syntax but I'm open to suggestion. > What about a "CONTUSERS" command to know how many users you have and so > how many lines listusers will return? Yes, I agree, it also work for me. Or saying how many lines there are in the first line (title) of the list: Existing 3 accounts: user: john user: sam user: ross I let you choose the best. > > - If I try to add a user which already existe, I have no error > > message but it change the password. Why not, but how can I know if a > > user already exist ? > > Should I have to do a listusers ? If I have thousand users it will > > generate a lot of information which trave on my network, only tro try > > the existance of ONE user. > > "verify [username] returning "YES/NO"? I also have a problem to see if a command workes fine or not. In POP protocol the result always start with +OK or -ERR, so it's easy to know if the command is correct or not. For the moment I test with the word in the result line, but I don't know if they'll stay for ever or may be change. You see what I mean ? > > I suggest an error message when someone try to add an existing > > user, and a new function to change the password of a user. > > Ok > > > - Could many people be connected to the remotemanager ? Why not ? Is > > there any good reason ? > > > > It create some sychronization problem like what if you're changing > password to a user someone else is deleting. It's something like opening > 2 POP3 session to the same user. > This is something we can go trougth but I don't see the need. > Can you please explain why you need that? I don't need it for now....I think ;-) Actually I have a intranet application which use James for the mailbox management. But if I use it on Internet, it'll append that two user try to create a new mailbox at the same time so only one of two will succeed, or perhaps one should be more patient. But I don't think it's a problem, I just was askinbg for my culture. > I'll update the code tomorrow. Thanks for the speed, I'm more patient as you think ;-) Another question : Can someone explain me the way to make a new James program from the source ? > > > > Christophe Marchal > > -- > Federico Barbieri > <[EMAIL PROTECTED]> > > |
