root mailbox/partition permission problem

Andreas Winkelmann ml at awinkelmann.de
Sun Sep 24 00:03:38 EDT 2006


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/Admin.pm 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

-- 
	Andreas


More information about the Info-cyrus mailing list