difference between postuser and sharedprefix ?

Scott Russell lnxgeek at us.ibm.com
Thu Oct 24 17:02:35 EDT 2002


On Thu, Oct 24, 2002 at 04:47:06PM -0400, Scott Russell wrote:
> On Thu, Oct 24, 2002 at 03:27:23PM -0400, Ken Murchison wrote:
> > > I'm for the first time playing around with shared folders under Cyrus
> > > IMAPd 2.1.9. I have several normal user accounts up and running fine
> > > with my config.
> > > 
> > > In the imapd.conf I see there are two options for controlling shared
> > > folders. postuser and sharedprefix. I created a mailbox with cyradm (cm
> > > testbox) and gave it ACL anonymous p. It gets mail just fine when I
> > > sent to share+testbox at myhost.com
> > > 
> > > This seems to work well if I set "shareprefix: share" or if I leave
> > > that out and set "postuser: share". So I'm confused as to what the
> > > differences are between the two settings when they both seem to work
> > > the same?
> > 
> > 'postuser' is the one which is used for posting.  'sharedprefix' is only
> > used if using 'altnamespace', in which your shared folder names (as
> > presented to the client) would be "share.testbox"
> > 
> > Check out the description of 'altnamespace' in the manpage or docs if my
> > explanation is too cryptic.
> > 
> 
> No, not to cryptic, just not clear? :) I've checked the man page so
> let me try to ask my question again.
> 
> I have the following in my imapd.conf file:
> 
>   configdirectory: /var/imap
>   partition-default: /var/spool/imap
>   altnamespace: yes
>   userprefix: user
>   postuser: share
> 
> I created "testbox" using cyradm. This shows up on the partition as
> /var/spool/imap/testbox/.  
> 
> With my imapd.conf set as pasted here, (notice no shareprefix is set)
> mail sent to share+testbox at myhost.com does get delivered right.
> 
> Now, given all that, I can, without changing the physical mailbox
> "testbox" change my imapd.conf to remove the postuser line and add
> shareprefix: user. After restarting cyrus imapd posting still works.

Correction to what I'm saying. I add shareprefix: share, not
shareprefix: user.

> 
> So, maybe i'm missing something about how userprefix, shareprefix, and
> altnamespace interact?

-- 
  Scott Russell (lnxgeek at us.ibm.com)
  Linux Technology Center, System Admin, RHCE.
  Dial 877-735-8200 then ask for 919-543-9289 (TTY)





More information about the Info-cyrus mailing list