From: Alexander V. Karelin (karelin_at_nonexisting.hamakor.org.il)
Date: Thu 10 Jun 2004 - 00:32:46 IDT
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 linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Thu 10 Jun 2004 - 00:51:41 IDT