root mailbox/partition permission problem

Josh M. Hurd josh at
Sun Sep 24 01:56:19 EDT 2006

On Sep 23, 2006, at 9:03 PM, Andreas Winkelmann wrote:

> Am Saturday 23 September 2006 00:42 schrieb Josh M. Hurd:
>>>>>> this is what I get from lam now:
>>>>>> localhost> lam user/%
>>>>>> user/christen:
>>>>>>    christen lrswipcda
>>>>>> user/jhurd:
>>>>>>    jhurd lrswipcda
>>>>>> user/junkmail:
>>>>>>    jhurd lrswipcda
>>>>>>    junkmail lrswipcda
>>>>>> user/notjunkmail:
>>>>>>    jhurd lrswipcda
>>>>>>    notjunkmail lrswipcda
>>>>>> user/stef:
>>>>>>    stef lrswipcda
>>>>>> it looks to me like I should not have permission to see these
>>>>>> mailboxes?
>>>>> Show your imapd.conf and tell us "Who" you are.
>>>> I login as emailadmin as both cyrus and cyrusimap don't allow  
>>>> logins
>>>> with the following error:
>>>> Mail is not enabled for this user at /System/Library/Perl/5.8.6/
>>>> darwin-thread-multi-2level/Cyrus/IMAP/ line 118
>>>> cyradm: cannot authenticate to server with  as cyrusimap
>>>> /etc/impad.cond
>>>> admins: cyrus cyrusimap emailadmin
>>> "emailadmin" is admin and of course able to see all Mailboxes,
>>> regardless if
>>> it is specified with "sam".
>> sorry, I must have mislead you.  I login to cryadm with the account
>> emailadmin but my own mail account is jhurd which is not an admin.
>> I can see user/* in my mail client logged in as jhurd (non-admin) and
>> in cryadm for that matter.  and or course the same with emailadmin
>> since it is an admin account.
>> This is the problem.  my account is not an admin account but it acts
>> like one.  I have in the past added this account to the admins, could
>> there be something cached or similar?  i have of course restarted
>> imap after making this change.
> Maybe some Mac-OS/Darwin Special?
> Hmm, is there another imapd.conf? Maybe a special imap-Listener n your
> cyrus.conf with another imapd.conf. Or try to dump the Mailboxlist
> "ctl_mboxlist -d" and look for the Permissions.
>>>> configdirectory: /var/imap
>>>> partition-default: /var/spool/imap
>>>> unixhierarchysep: yes
>>>> servername: XXXXXXXXX
>>>> sievedir: /usr/sieve
>>>> sendmail: /usr/sbin/sendmail
>>>> tls_cert_file: /etc/certificates/XXXXXXXXX.crt
>>>> tls_key_file: /etc/certificates/XXXXXXXXX.key
>>>> mboxlist_db: skiplist
>>>> seenstate_db: skiplist
>>>> log_rolling_days: 15
>>>> log_rolling_days_enabled: false
>>>> imap_auth_login: yes
>>>> imap_auth_plain: yes
>>>> tls_server_options: use
>>>> tls_common_name: XXXXXXXXX
>>>> pop_auth_apop: yes
>>>> imap_auth_cram_md5: yes

I found a total of 3 imapd.conf files:
none of which have my user as an admin

and here is the mailbox dump:

sudo -u cyrusimap ./ctl_mboxlist -d
Shared  default anyone  lrs     jhurd   lrswipcda        
christen        lrswipcda
Shared.Christen Archives        default christen        lrswipcda
Shared.Josh Archives    default jhurd   lrswipcda
Shared.Josh Archives.Inbox      default jhurd   lrswipcda
Shared.Josh Archives.Inbox.Freelance    default jhurd   lrswipcda
Shared.Josh Archives.Inbox.Jobs default jhurd   lrswipcda
Shared.Josh Archives.Inbox.Orca default jhurd   lrswipcda
Shared.Josh Archives.Inbox.eBay default jhurd   lrswipcda
Shared.Josh Archives.Sent Messages      default jhurd   lrswipcda
user.christen   default christen        lrswipcda
user.christen.Deleted Messages  default christen        lrswipcda
user.christen.Drafts    default christen        lrswipcda
user.christen.Junk      default christen        lrswipcda
user.christen.Sent Messages     default christen        lrswipcda
user.christen.Trash     default christen        lrswipcda phone list    default christen        lrswipcda
user.emailadmin default emailadmin      lrswipcda
user.emailadmin.Deleted Messages        default emailadmin       
user.emailadmin.Drafts  default emailadmin      lrswipcda
user.emailadmin.Sent Messages   default emailadmin      lrswipcda
user.jhurd      default jhurd   lrswipcda
user.jhurd.Apple        default jhurd   lrswipcda
user.jhurd.Chess        default jhurd   lrswipcda
user.jhurd.Craigslist   default jhurd   lrswipcda
user.jhurd.Darwin       default jhurd   lrswipcda
user.jhurd.Drafts       default jhurd   lrswipcda
user.jhurd.Freelance    default jhurd   lrswipcda
user.jhurd.Jobs default jhurd   lrswipcda
user.jhurd.Retrospect   default jhurd   lrswipcda
user.jhurd.Sent Messages        default jhurd   lrswipcda
user.jhurd.Spam default jhurd   lrswipcda
user.jhurd.Trash        default jhurd   lrswipcda
user.jhurd.eBay default jhurd   lrswipcda
user.junkmail   default junkmail        lrswipcda       jhurd    
user.junkmail.Learned   default junkmail        lrswipcda        
jhurd   lrswipcda
user.notjunkmail        default notjunkmail     lrswipcda        
jhurd   lrswipcda
user.stef       default stef    lrswipcda
user.stef.Deleted Messages      default stef    lrswipcda
user.stef.Drafts        default stef    lrswipcda
user.stef.Sent Messages default stef    lrswipcda

More information about the Info-cyrus mailing list