Diego, I think the best way would be to use procmail in-between, piping the messages to Your chosen location and keeping the permissions intact. Check "man procmailrc" and "man procmailex" for some more information. Basicaly I'd do it this way:
PATH=/usr/bin:/usr/local/bin:whatever TARGET=/my-shared-location :0 $TARGET putting such a .procmailrc in homedirs of both users should do the trick of "uniting" the mailboxes into one. On Thu, 2004-06-10 at 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. ================================================================= 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]
