Understanding mailbox SELECT
Conrad Kleinespel
conradk at conradk.com
Fri Sep 18 03:23:07 EDT 2015
Hello Dan,
Thanks for your help.
hello at localhost is not an admin the only admin I have is called cyrus
(no domain).
I'm running a somewhat outdated version (last commit sept. 7th) of the
master branch.
I don't see any errors or messages related to permissions or message
access in syslog.
I created the mailbox like this in cyradm:
% cm localhost!shared/contact cm localhost!user/hello
The config has not changed since I created the mailbox.
This is my config in imapd.conf: configdirectory: /var/imap partition-
default: /var/spool/imap lmtpsocket: /var/run/cyrus/socket/lmtp admins:
cyrus sasl_pwcheck_method: saslauthd allowplaintext: yes virtdomains:
yes unixhierarchysep: yes postuser: shared altnamespace: yes
And cyrus.conf: START { # do not delete this entry! recover
cmd="ctl_cyrusdb -r" }
# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES { # add or remove based on preferences imap
cmd="imapd" listen="imap" prefork=0 pop3 cmd="pop3d"
listen="pop3" prefork=0
# LMTP is required for delivery (socket is set for Sendmail MTA)
lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 }
EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c"
period=30
# this is only necessary if using duplicate delivery suppression
delprune cmd="ctl_deliver -E 3" at=0400
# expire data older than 28 days deleteprune cmd="cyr_expire -E 4 -D
28" at=0430 expungeprune cmd="cyr_expire -E 4 -X 28" at=0445
# this is only necessary if caching TLS sessions tlsprune
cmd="tls_prune" at=0400 }
Thanks again,
Best regards,
Conrad Kleinespel conradk at conradk.com +33 6 23 82 42 79
On Thu, Sep 17, 2015, at 03:51 PM, Dan White wrote:
> On 09/17/15 14:31 +0200, Conrad Kleinespel wrote:
> >These are the commands I run when logged into Cyrus as the
> >hello at localhost user.
>
> Which version are you running?
>
> Is hello at localhost an admin?
>
> >C: . LIST "" "*"
> >S: * LIST (\Noinferiors \HasNoChildren) "/" INBOX
> >S:* LIST (\HasNoChildren) "/" "Shared Folders/shared/contact"
> >S:. OK Completed (0.000 secs 2 calls)
> >C: SELECT "INBOX"
> >S:* 4 EXISTS
> >S:* 0 RECENT
> >S:* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
> >S:* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen
> > \*)] Ok
> >S:* OK [UNSEEN 1] Ok
> >S:* OK [UIDVALIDITY 1441653903] Ok
> >S:* OK [UIDNEXT 5] Ok
> >S:* OK [HIGHESTMODSEQ 7] Ok
> >S:* OK [URLMECH INTERNAL] Ok
> >S:* OK [ANNOTATIONS 65536] Ok
> >S:. OK [READ-WRITE] Completed
> >C: SELECT "Shared Folders/shared/contact"
> >S:* OK [CLOSED] Ok
> >S:. NO Mailbox does not exist
>
> Are there any errors in syslog?
>
> >localhost> lam localhost!user/hello
> >anyone lrswipkxtecda hello at localhost lrswipkxtecdan
> >localhost> lam localhost!shared/contact
> >anyone lrswipkxtecda
>
> How was this shared mailbox created, and has any of your virtual
> domain config changed since you created it? 'localhost!shared/contact'
> looks fishy for a shared mailbox.
>
> --
> Dan White
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20150918/00ff2e25/attachment.html
More information about the Cyrus-devel
mailing list