>tovis writes:
>
>> One of my problem is this centence from the documentation:
>>
>> "The sharable maildir owner can arrange for mail to be delivered
>> directly to this folder, and the first one to open it will put
>> the message into cur."
>>
>> OK! - how?
>
>Do whatever you need to do with exim to arrange mail to be delivered to that
>folder. Of course, everyone with access to that folder should have write
>permission on the folder's new and cur directories. To rename a file, you
>need to have write permissions on both the source and the destination
>folders. You do know that, don't you? The documentation does not explain how
>filesystem permissions work, you should know that already, yourself. If you
>use system accounts, you need to understand how filesystem permissions work.
>If you don't, you won't be able to figure out anything, and you should be
>using virtual accounts.
>
My system is Debian Etch, using courier imap (ver.4.1.1.20060828-5) with
exim4 as mta.

I have created several user0..n
Created regular Maildir for each.

Created shared mail directory for user0:
maildirmake -S /home/user0/Mailshare
maildirmake -s write,group -f daily /home/user0/Mailshare
maildirmake --add msg=/home/user0/Mailshare /home/user0/Maildir
  the rights for .daily/new drwxrwx--T
create .forward user0-msg -> save $home/Mailshare/.msg 006

swap to user1
maildirmake --add msg=/home/user0/Mailshare /home/user1/Maildir

/usr/sbin/sendmail -v [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test message #0001
test message #0001
.

As a result, the message is landed in the right place of the shared folder
of user0, but when MUA tries to open shared folder, courier imap said in
the  syslog failed: Operation not permitted - when try to "rename" the
file in folder "new" to "cur"!
I have some kind of work around, create a mailfake with "new" is a soft
link right to the "cur" of the shared folder, but I'm not sure that it
would be good.
Any ideas?





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to