View previous topic :: View next topic |
Author |
Message |
KermitTheFragger n00b
Joined: 20 Aug 2004 Posts: 41 Location: Netherlands
|
Posted: Tue Oct 05, 2004 2:38 pm Post subject: Shared folders with Cyrus IMAP |
|
|
Hi everyone!
I recently moved from courier to cyrus imap, mainly because I'm playing arround with kerberos, and cyrus supports it fairly well.
The only problem I'm having is shared folders. Im using the internal (standard) namespace. I didn't really find anything usefull in the docs about it.
Is the only way to make a shared folder?
Code: |
cm user.shared
sam user.shared anyone lrsp
|
I think there must be a beter way then this?
And is there a possibility to have all the email replies in the sent-items of the shared box, and not in the personal box of the user. Personally i fear this is more client side work.
Thanks in advance for any insight into the dark world of cyrus . |
|
Back to top |
|
|
KermitTheFragger n00b
Joined: 20 Aug 2004 Posts: 41 Location: Netherlands
|
Posted: Tue Oct 05, 2004 8:59 pm Post subject: |
|
|
No cyrus imap expert among us ? |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Tue Oct 05, 2004 9:13 pm Post subject: |
|
|
better in what way ? |
|
Back to top |
|
|
KermitTheFragger n00b
Joined: 20 Aug 2004 Posts: 41 Location: Netherlands
|
Posted: Tue Oct 05, 2004 9:16 pm Post subject: |
|
|
your saying that this is the only way to make an shared mailbox in internal namespace?
It looked kinda strange to me because its suggests that the shared mailbox is a user while it is a special mailbox. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Tue Oct 05, 2004 10:16 pm Post subject: |
|
|
No, I was asking how you want it improved:
- better tool
- different location
- ...
Code: | cm shared
sam shared anyone lrsp |
works for me btw (but I haven't tested if/how access with mail clients works) |
|
Back to top |
|
|
KermitTheFragger n00b
Joined: 20 Aug 2004 Posts: 41 Location: Netherlands
|
Posted: Wed Oct 06, 2004 7:04 am Post subject: |
|
|
Well a different location would be nice
Now when you subscribe to the shared folder its always a child of the user folder, wich looks kinda odd in (all) the client(s).
So it now looks like this:
Code: |
+
|_+INBOX
| |_Sent
| |_Drafts
| |_Trash
+_+User
|_Shared
|
Is there a way to correct this? so that it isnt a child of the user folder. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Wed Oct 06, 2004 9:52 am Post subject: |
|
|
As I said, I can create a top-level mailbox just fine. I can also subscribe to it with squirrelmail and it shows up at the same level as INBOX. |
|
Back to top |
|
|
KermitTheFragger n00b
Joined: 20 Aug 2004 Posts: 41 Location: Netherlands
|
Posted: Wed Oct 06, 2004 6:19 pm Post subject: |
|
|
Do you use standard namespace?
The command you give to create your shared mailbox is something like this?? :
Code: |
cm shared
sam shared anyone lrps
|
If i do that, the mailbox gets created, and shows correctly in the clients but the deliver program (postfix) is unable to drop mail in it |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Wed Oct 06, 2004 7:20 pm Post subject: |
|
|
So the problem is not with cyrus but with postfix (I don't use shared mailboxes myself). |
|
Back to top |
|
|
KermitTheFragger n00b
Joined: 20 Aug 2004 Posts: 41 Location: Netherlands
|
Posted: Wed Oct 06, 2004 7:48 pm Post subject: |
|
|
I think you hit the nail on the head.
The problem is, i have no clue howto send mail to an top level mailbox. In the older days of cyrus you needed to append "bb+" to the mail adres of the shared box. Like bb+Shared@somedomain.com. But this doesnt work anymore.
I searched all of the web but just cant find anything. The cyrus docs dont say much about shared folders in standard namespace. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Thu Oct 07, 2004 1:00 am Post subject: |
|
|
From the FAQ:
Quote: | * plus addressing - Plus addressing allows direct delivery to a particular mailbox (other than an INBOX). This is done in
two ways.
The first way allows delviery to a subfolder of a specific user's INBOX. This is done via an address of the form:
username+mailfolder@domain, which will deliver to the user's INBOX.mailfolder folder (or altnamespace equivalent). This
submailbox must allow the posting user the 'p' right (generally, this means 'anyone' must have the 'p' right), otherwise
the message will just be filed into the user's INBOX.
The second way is to form an address like [postuser]+mailfolder@domain. This will deliver into the mailbox 'mailfolder'.
[postuser] is the string specified in the imapd.conf option of the same name, and may be the empty string. As before, the
posting user will need to have the 'p' right on the mailbox.
For both methods, if 'mailfolder' is more than one level deep, you will need to conform to the hierarchy separator
appropriate to your site.
|
And from `man imapd.conf`:
Quote: | postuser: <none>
Userid used to deliver messages to shared folders. For example, if set to "bb", email sent to
"bb+shared.blah" would be delivered to the "shared.blah" folder. By default, an email address of
"+shared.blah" would be used.
|
But maybe you've already read that ... |
|
Back to top |
|
|
KermitTheFragger n00b
Joined: 20 Aug 2004 Posts: 41 Location: Netherlands
|
Posted: Thu Oct 07, 2004 7:47 am Post subject: |
|
|
Its fixxed, thanks Genone.
The problem lied with postfix, it kept telling me about a unkown recipient. So i added a bb+shared.bla alias to the database, and that fixxed the problem. |
|
Back to top |
|
|
|