6 messages in net.sourceforge.lists.courier-users[courier-users] Read-only shared mail...
FromSent OnAttachments
Malte StarostikSep 10, 2002 8:40 am 
Sam VarshavchikSep 10, 2002 9:05 am 
Malte StarostikSep 10, 2002 10:14 am 
Sam VarshavchikSep 10, 2002 2:28 pm 
Greg HurrellSep 11, 2002 4:47 am 
Sam VarshavchikSep 11, 2002 6:24 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Read-only shared maildirs that are never read directlyActions...
From:Malte Starostik (mal@starostik.de)
Date:Sep 10, 2002 8:40:22 am
List:net.sourceforge.lists.courier-users

When a Maildir that contains one or more read-only shared folders is never read directly, i.e. no one ever logs in to the maildir via IMAP, subscribed users cannot read newly arriving mails, because they stay forever in the "new" directory of the shared folder.

Accoring to README.sharedfolders, this happens: <quote> * Read the contents of shared-folder/name/shared/.foldername/new. If you find anything in there, rename it to .../cur, ignoring any errors from the rename. 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. </quote>

Unfortunately, the "ignoring any errors from the rename" part also means to ignore the message, i.e. only messages from the "cur" folder have symlinks created to them from the subriber's folder, but not the ones in "new". I can workaround this easily with a cron script that peridically moved any files from new to cur, but that'll become a maintenance nightmare when I'll add more shared folders which is planned :-)

Another thing that bugs be is that it seems impossible to share the main folder of a sharable Maildir. Rationale: for users, the tree

INBOX -- INBOX.foo -- INBOX.bar shared -- shared.dept1 -- shared.dept1.announce -- shared.dept2 -- shared.dept2.announce

Is rather inconvenient, would be nice to lose the intermediate level from the above hierarch and instead have the mails of dept[12].announce inside their maildir's main folder, since the maildir contains only one folder anyway... Is this possible?

TIA, -Malte