From: GCS <gc...@ma...> - 2003-03-02 15:26:18
|
You wrote: > El S??b 01 Mar 2003 10:35, escribi??: > > > =09Could you send an e-mail when you submit the changes? > > > > Sure, as I have inet access this weekend, I hope to commit them soon. = I > > will send a notification to you. > Thanks! Ok, just committed it, even if it is still the very ugly version. It's bad that I do not have a normal inet connection, and when I have I have to do a lot of things. :-( Anyway, it should work, as it works for us for two weeks now. > Well, that works for sure, but it's not what I want, because I, user roni= n,=20 > have to know the password for user john and, in that case, I would be abl= e to=20 > access every folder of that user, so forget privacy. Could you sort the jokes folder to a dummy user? So privacy won't be affected, only john and ronin also have to add this dummy user's mailbox. > =09In my opinion, jwebmail should have the capibility to see shared folde= rs=20 > without doing that, just as kmail (mail program for KDE) does. When I add= an=20 > imap acoount in kmail, I see all my folders, but I automatically can see= =20 > other folder of other users if I have the right permissions to do that. I do not know how it is implemented, I will try to look into it. Please do not expect it soon, as it seems I am the only active(?) developer nowadays, without enough time/inet access. Thus what I do is more than stablise the code nowadays, do a release and just after add new features. > In=20 > the case of cyrus imap, those folder permissions are not filesystem relat= ed,=20 > they are ACLs managed with cyrus tools. I don't know imap protocol inside= s,=20 > but I suppose that jwebmail only shows folders in your INBOX and kmail,= =20 > somehow, looks for other folders in the server outside your INBOX. Yup, this is the scenario. > =09I really would like to try to find a solution for this (I think squirr= elmail=20 > is a webmail program able to do that), but I am finishing my thesis (I ho= pe=20 > finish it this month) Good luck! I am just started with my second degree last year, I know what does it mean. :-) > If you or somebody else can take a look to this=20 > problem, I will be very grateful I am going to, I hope the timeframe will not be long. I will reply in private to your other answers, ok? See ya, GCS |
From: GCS <gc...@gc...> - 2003-03-03 06:59:09
|
You wrote: > What was the change you committed? Fixed a session timeout problem right this time. Before it was buggy, logged an entry/second/user that the session is timed out indefinately. It caused very large log files under short period of time so it was a showstopper. Now I am still not pleased (see the logout, how empty user is constructed in case of null session), but it fixes the problem, and later we can work on the internals to do it in the rigth way tm. Cheers, GCS |
From: Brett F. <br...@fo...> - 2003-03-02 18:32:49
|
If I understand this correctly he wants to have a shared folder for jokes? so normally: user.someuser - is the inbox user.jokes - shared jokes folder? JWebMail only allows us to add folders from that point on in the hierarchy? What was the change you committed? Brett GCS wrote: >You wrote: > > >>El S??b 01 Mar 2003 10:35, escribi??: >> >> >>>> Could you send an e-mail when you submit the changes? >>>> >>>> >>> Sure, as I have inet access this weekend, I hope to commit them soon. I >>>will send a notification to you. >>> >>> >>Thanks! >> >> > Ok, just committed it, even if it is still the very ugly version. >It's bad that I do not have a normal inet connection, and when I have >I have to do a lot of things. :-( Anyway, it should work, as it works >for us for two weeks now. > > > >>Well, that works for sure, but it's not what I want, because I, user ronin, >>have to know the password for user john and, in that case, I would be able to >>access every folder of that user, so forget privacy. >> >> > Could you sort the jokes folder to a dummy user? So privacy won't be >affected, only john and ronin also have to add this dummy user's mailbox. > > > >> In my opinion, jwebmail should have the capibility to see shared folders >>without doing that, just as kmail (mail program for KDE) does. When I add an >>imap acoount in kmail, I see all my folders, but I automatically can see >>other folder of other users if I have the right permissions to do that. >> >> > I do not know how it is implemented, I will try to look into it. Please >do not expect it soon, as it seems I am the only active(?) developer >nowadays, without enough time/inet access. Thus what I do is more than >stablise the code nowadays, do a release and just after add new features. > > > >>In >>the case of cyrus imap, those folder permissions are not filesystem related, >>they are ACLs managed with cyrus tools. I don't know imap protocol insides, >>but I suppose that jwebmail only shows folders in your INBOX and kmail, >>somehow, looks for other folders in the server outside your INBOX. >> >> > Yup, this is the scenario. > > > >> I really would like to try to find a solution for this (I think squirrelmail >>is a webmail program able to do that), but I am finishing my thesis (I hope >>finish it this month) >> >> > Good luck! I am just started with my second degree last year, I know >what does it mean. :-) > > > >>If you or somebody else can take a look to this >>problem, I will be very grateful >> >> > I am going to, I hope the timeframe will not be long. > > I will reply in private to your other answers, ok? > >See ya, >GCS > |
From: Jose A. B. P. <ro...@br...> - 2003-03-02 19:37:51
|
El Dom 02 Mar 2003 19:30, Brett Foster escribió: > If I understand this correctly he wants to have a shared folder for jokes? Well, jokes was an example, I want to share more folders :-) > so normally: > user.someuser - is the inbox > user.jokes - shared jokes folder? I will write a more elaborated (almost real) example. Let be: - Cyrus is the imap server. - "cyradm" is the administrator tool for Cyrus. - "lm" is the command to list mailboxes. - "lam" is the command to list ACLs on mailboxes. - "boss" is the cyrus imap administrator. - "ronin" and "john" are two mail users. [ronin@www ronin]$ cyradm --user boss localhost Password: localhost.localdomain> lm user.john (\HasChildren) user.john.sent (\HasNoChildren) user.ronin (\HasChildren) user.ronin.sent (\HasNoChildren) user.ronin.jpackage (\HasNoChildren) user.ronin.jwebmail (\HasNoChildren) user.ronin.mandrake (\HasNoChildren) user.ronin.homecinema (\HasNoChildren) localhost.localdomain> lam user.john john lrswipcda localhost.localdomain> lam user.ronin.jwebmail john lrs ronin lrswipcda With Cyrus, each folder has ACLs, so you can set permissions on it in order to give different permissions to different users. In the example, "ronin" has set read permissions for "john" on his folder "jwebmail". That folder is the destination for a mailing list where "ronin" is subscribed. He can write on it, but "john" is able to read the messages in that folder too, although he can't delete them or put new messages. If "ronin" login in "cyradm" as himself he only see his folders: [ronin@www ronin]$ cyradm localhost Password: localhost.localdomain> lm INBOX (\HasChildren) INBOX.sent (\HasNoChildren) INBOX.jpackage (\HasNoChildren) INBOX.jwebmail (\HasNoChildren) INBOX.mandrake (\HasNoChildren) INBOX.homecinema (\HasNoChildren) But if "john" login in "cyradm" he can see other folders if he has the rights to do that: [john@www john]$ cyradm localhost Password: localhost.localdomain> lm INBOX (\HasChildren) INBOX.sent (\HasNoChildren) user.ronin.jwebmail (\HasNoChildren) Here is the problem, with jwebmail he can only see folders inside his INBOX, so he is not able to access jwebmail folder. Regards. |
From: Jose A. B. P. <ro...@br...> - 2003-03-02 19:43:42
|
El Dom 02 Mar 2003 16:20, GCS escribió: > Could you sort the jokes folder to a dummy user? So privacy won't be > affected, only john and ronin also have to add this dummy user's mailbox. Yes, but both users will have the same privileges, and I want that only user "ronin" can add jokes to the "jokes" folder :-) > Good luck! I am just started with my second degree last year, I know > what does it mean. :-) Thanks! :-) > > If you or somebody else can take a look to this > > problem, I will be very grateful > > I am going to, I hope the timeframe will not be long. Thank you very much! Regards. |
From: Brett F. <br...@fo...> - 2003-03-02 23:33:49
|
Ok I've looked at the code and at the JavaMail API. Mind you, I've never=20 used the JavaMail API so I'm no expert! Any ideas? Currently on connect the future is fixed with: Folder f=3Dst.getDefaultFolder(); Which is defined as: *javax.mail.Store* public abstract Folder <../../javax/mail/Folder.html>=20 *getDefaultFolder*() throws MessagingException=20 <../../javax/mail/MessagingException.html> Returns a Folder object that represents the 'root' of the default=20 namespace presented to the user by the Store. Looking at the java documentation I see three(!) other functions that=20 should probably be used in place of getDefaultFolder. (So the code in=20 JWebMail for "searching" folders is redundant? and broken? Why implement=20 something already provided by the API? It also implies that it is=20 impossible to access the shared mailboxes unless it's the default=20 namespace.) *javax.mail.Store* public Folder <../../javax/mail/Folder.html>[] *getPersonalNamespaces*()=20 throws MessagingException <../../javax/mail/MessagingException.html> Return a set of folders representing the /personal/ namespaces for the=20 current user. A personal namespace is a set of names that is considered=20 within the personal scope of the authenticated user. Typically, only the=20 authenticated user has access to mail folders in their personal=20 namespace. If an INBOX exists for a user, it must appear within the=20 user's personal namespace. In the typical case, there should be only one=20 personal namespace for each user in each Store. public Folder <../../javax/mail/Folder.html>[]=20 *getUserNamespaces*(java.lang.String user) throws MessagingException=20 <../../javax/mail/MessagingException.html> Return a set of folders representing the namespaces for |user|. The=20 namespaces returned represent the personal namespaces for the user. To=20 access mail folders in the other user's namespace, the currently=20 authenticated user must be explicitly granted access rights. For=20 example, it is common for a manager to grant to their secretary access=20 rights to their mail folders. public Folder <../../javax/mail/Folder.html>[] *getSharedNamespaces*()=20 throws MessagingException <../../javax/mail/MessagingException.html> Return a set of folders representing the /shared/ namespaces. A shared=20 namespace is a namespace that consists of mail folders that are intended=20 to be shared amongst users and do not exist within a user's personal=20 namespace. Brett Jose Antonio Becerra Permuy wrote: >El Dom 02 Mar 2003 16:20, GCS escribi=F3: > =20 > >> Could you sort the jokes folder to a dummy user? So privacy won't be >>affected, only john and ronin also have to add this dummy user's mailbo= x. >> =20 >> > > Yes, but both users will have the same privileges, and I want that only= user=20 >"ronin" can add jokes to the "jokes" folder :-) > > =20 > >> Good luck! I am just started with my second degree last year, I know >>what does it mean. :-) >> =20 >> > > Thanks! :-) > > =20 > >>>If you or somebody else can take a look to this >>>problem, I will be very grateful >>> =20 >>> >> I am going to, I hope the timeframe will not be long. >> =20 >> > > Thank you very much! > Regards. > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Jwebmail-devel mailing list >Jwe...@li... >https://lists.sourceforge.net/lists/listinfo/jwebmail-devel > =20 > |