On Thursday 10 June 2004 00:43, Diego Iastrubni wrote: > Hi, > > I am in an "interesting" situation. I have two accounts on the same > machine. I would like both of them to share the same mail box (I will be > able to see the same folders on both accounts). > > I tried putting the mailbox on a "shared" dir : "/usr/local/mail", and set > that dir G+RW (both users are on the sake group). It did not work, since > new mails are set U+RW and not G+RW (the other user cannot read the dirs). > > I do beleave the real solution to this is having a imap server on the lan, > but I dont have time to learn all that's needed ATM. (can you point me to > RTFMs for the future?). > > I am looking for a nice hack, I hope someone has a good idea :) > > I am using kmail as my mailer.
I'm Looking at my ~/.Mail dir and most of the subfolders in it are set to 775 permissions (few are set to 700). The dirs and files inside the 775 dirs are set to 775\664, And the dirs and files inside the 700 dirs are set to 700\600. I don't know exactly what is the reason for the different permissions(I guess it's related to this directory getting backed up and restored couple of times). Any way, my (untested) conclusion is that all new mail files are created with the same permissions of the folder contains it. I'm using KMail as my mailer and can't find a configuration option to change the path of the maildir, so I don't know how you've pointed it to /usr/local/mail, but I guess making one user's ~/.Mail a symbolic link to the ~/.Mail of the other user will do what you want. -Amir. ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
