On Wed, Jun 09, 2004 at 09:43:48PM +0000, 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). 

All folders, or some?

How do you access those folders?

> 
> 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).

Use mode 2770 (rwxrws--) for dirs. This will make created files owned by
the directory's group.

What mailer do you use? what umask?

> 
> 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 believe it is relatively easy to change that mapping in imap . On
wu-imap it would require a rather trivial patch to sysdep/unix.c (IIRC:
the file where the settings are set).

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

=================================================================
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]

Reply via email to