Dale The installation is from cyrus-imapd.i686 2.4.14-1.fc17 Yes there have been file ownership problems, but you will observe from my previous post that the mailbox has been written to by the cyrus mailer! Therefore one would naturally expect imapd to be able to read it! For the record /var/spool/imap/b/user/test are all 700 and the files in ..../test are 600 and every thing is owner cyrus and group mail. Yes I agree possibly a file ownership problem, but how? One of the first things I tried was changing everything to 777 with no result! More likely some quirk with BSD vis Fedora low level file access. Most of the Fedora forum posts on the subject of cyrus-imapd say ....! Oops can't post it here. ;-) Charles Bradshaw On: Thu, 24 Jan 2013 14:11:09 -0600, Dale woote: > The directory and files must be writeable by either the owner of the > process (cyrus) or the group the owner belongs to. > > I suggest you write down who owns the directory, make sure you > remember and chown to it. Keep in mind that some directories may be > written by sendmail/postfix and/or read by cyrus. > > I suspect it's a permission problem, though. > > Did you compile yourself, rpm, package, ??? > > What OS? > > On 01/24/2013 02:00 PM, Charles Bradshaw wrote: > > The file owner is root, but ps aux says: > > > > cyrus 4844 0.0 0.1 50004 2224 ? S 19:31 0:00 imapd > > > > So the running daemon and the mailbox is owned by cyrus, which is correct. > > > > The mail directory cannot be owned by the user because she is virtual and > > therefore has no account. Instead cyrus is proxy. > > > > I like your signature though :) > > > > The only skill I have is perseverance! Charles Bradshaw > > > > On: Thu, 24 Jan 2013 13:28:55 -0600,Dale wrote: > > > >> No expert, but does the proper user own imap? Is it writeable the > >> the mail user? > >> > >> On 01/24/2013 01:17 PM, Charles Bradshaw wrote: > >>> I have enabled debug. (in imapd.conf debug: yes). Now when I start a telnet > >>> imap session /var/log/maillog has this: > >>> > >>> Jan 24 13:25:59 dell2600 imap[4507]: accepted connection > >>> Jan 24 13:25:59 dell2600 master[4549]: about to exec > > /usr/lib/cyrus-imapd/imapd > >>> Jan 24 13:25:59 dell2600 imap[4549]: executed > >>> Jan 24 13:25:59 dell2600 imap[4549]: IOERROR: opening > >>> /var/lib/imap/user_deny.db: No such file or directory > >>> > >>> Is this the problem? > >>> > >>> How do I create user_deny.db ? > >>> > >>> ~ o ~ > >>> > >>> The debug exposed error has been eliminated by creating user_deny.db > >>> > >>> #su cyrus > >>> bash-4.2$ touch /var/lib/imap/user_deny.db > >>> > >>> Telnet session still does NOT report the presence of INBOX: > >>> > >>> $ telnet localhost imap > >>> Trying ::1... > >>> Connected to localhost. > >>> Escape character is '^]'. > >>> * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=PLAIN > >>> AUTH=CRAM-MD5 AUTH=DIGEST-MD5 SASL-IR] dell2600.bradcan.homelinux.com Cyrus > >>> IMAP v2.4.14-Fedora-RPM-2.4.14-1.fc17 server ready > >>> a1 LOGIN brad@xxxxxxxxxxxxxxxxxxxxx wH3x14or > >>> a1 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxte QUOTA > >>> MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN > >>> MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SORT SORT=MODSEQ SORT=DISPLAY > >>> THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE LIST-EXTENDED WITHIN > >>> QRESYNC SCAN XLIST URLAUTH URLAUTH=BINARY X-NETSCAPE LOGINDISABLED > >>> COMPRESS=DEFLATE IDLE] User logged in > >>> SESSIONID=<dell2600.bradcan.homelinux.com-4597-1359054779-1> > >>> a2 LIST "" "*" > >>> a2 OK Completed (0.000 secs) > >>> > >>> I am at a complete loss to understand how it is possible that mail is > >>> delivered, but at the same time the INBOX is not being identified during the > >>> imap session. > >>> > >>> Is there some way to increase the bebug level of imapd ? > >>> > >>> Charles Bradshaw > >>> > >>> On: Wed, 23 Jan 2013 14:28:28 -0800 (PST), Andrew Morgan wrote: > >>> > >>>> On Wed, 23 Jan 2013, Charles Bradshaw wrote: > >>>> > >>>>> I'm seeing the following when I test cyrus-imapd using telnet. > >>>>> > >>>>> I seem to be missing some fundamental configuration. > >>>>> > >>>>> What am I doing wrong? > >>>>> > >>>>> Thanks in advance, Charles Bradshaw > >>>>> > >>>>> Telnet imap session: > >>>>> > >>>>> # telnet localhost imap > >>>>> Trying ::1... > >>>>> Connected to localhost. > >>>>> Escape character is '^]'. > >>>>> * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=PLAIN > >>>>> AUTH=CRAM-MD5 AUTH=DIGEST-MD5 SASL-IR] imap-host.mydomain Cyrus IMAP > >>>>> v2.4.14-Fedora-RPM-2.4.14-1.fc17 server ready > >>>>> a1 LOGIN test@mydomain ******* > >>>>> a1 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxte QUOTA > >>>>> MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN > >>>>> MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SORT SORT=MODSEQ SORT=DISPLAY > >>>>> THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE LIST-EXTENDED WITHIN > >>>>> QRESYNC SCAN XLIST URLAUTH URLAUTH=BINARY X-NETSCAPE LOGINDISABLED > >>>>> COMPRESS=DEFLATE IDLE] User logged in > >>>>> SESSIONID=<imap-host.mydomain-1720-1358978359-1> > >>>>> a2 LIST "" * > >>>>> a2 OK Completed (0.000 secs) > >>>>> > >>>>> I expected something like '* LIST (\HasNoChildren) "." "INBOX"', but the > >>>>> response is blank! > >>>>> > >>>>> ~ o ~ > >>>>> > >>>>> Telnet pop session: > >>>>> > >>>>> # telnet localhost 110 > >>>>> Trying ::1... > >>>>> Connected to localhost. > >>>>> Escape character is '^]'. > >>>>> +OK imap-host.mydomain Cyrus POP3 v2.4.14-Fedora-RPM-2.4.14-1.fc17 server > >>>>> ready<1420303981.1358957093@imap-host.mydomain> > >>>>> USER test@mydomain > >>>>> +OK Name is a valid mailbox > >>>>> PASS ****** > >>>>> -ERR [SYS/PERM] Unable to locate maildrop: Mailbox does not exist > >>>>> > >>>>> /val/log/maillog has: > >>>>> pop3s[13116]: Unable to locate maildrop mydomain!user.test: Mailbox does > >>> not exist > >>>>> ~ o ~ > >>>>> > >>>>> However /var/spool/imap/t/user/test mailbox exists and contains mail: > >>>>> > >>>>> # ls -l /var/spool/imap/t/user/test > >>>>> total 24 > >>>>> -rw-------. 1 cyrus mail 602 Jan 23 14:36 1. > >>>>> -rw-------. 1 cyrus mail 606 Jan 23 14:59 2. > >>>>> -rw-------. 1 cyrus mail 603 Jan 23 15:49 3. > >>>>> -rw-------. 1 cyrus mail 1884 Jan 23 15:49 cyrus.cache > >>>>> -rw-------. 1 cyrus mail 154 Jan 21 09:58 cyrus.header > >>>>> -rw-------. 1 cyrus mail 416 Jan 23 15:49 cyrus.index > >>>>> > >>>>> # cat /etc/imapd.conf > >>>>> configdirectory: /var/lib/imap > >>>>> partition-default: /var/spool/imap > >>>>> admins: cyrus > >>>>> sievedir: /var/lib/imap/sieve > >>>>> sendmail: /usr/sbin/sendmail > >>>>> hashimapspool: true > >>>>> sasl_pwcheck_method: auxprop > >>>>> sasl_mech_list: PLAIN DIGEST-MD5 CRAM-MD5 > >>>>> sasl_auxprop_plugin:sasldb > >>>>> allowplaintext: yes > >>>>> virtdomains: userid > >>>>> tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem > >>>>> tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem > >>>>> tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt > >>>>> tls_cipher_list: TLSv1:SSLv3:!NULL:!EXPORT:!DES:!LOW:@STRENGTH > >>>>> +OK imap-host.mydomain Cyrus POP3 v2.4.14-Fedora-RPM-2.4.14-1.fc17 server > >>>>> ready<1420303981.1358957093@imap-host.mydomain> > >>>>> USER test@mydomain > >>>>> +OK Name is a valid mailbox > >>>>> PASS ****** > >>>>> -ERR [SYS/PERM] Unable to locate maildrop: Mailbox does not exist > >>>>> > >>>>> /val/log/maillog has: > >>>>> pop3s[13116]: Unable to locate maildrop mydomain!user.test: Mailbox does > >>> not exist > >>>>> ~ o ~ > >>>>> > >>>>> However /var/spool/imap/t/user/test mailbox exists and contains mail: > >>>>> > >>>>> # ls -l /var/spool/imap/t/user/test > >>>>> total 24 > >>>>> -rw-------. 1 cyrus mail 602 Jan 23 14:36 1. > >>>>> -rw-------. 1 cyrus mail 606 Jan 23 14:59 2. > >>>>> -rw-------. 1 cyrus mail 603 Jan 23 15:49 3. > >>>>> -rw-------. 1 cyrus mail 1884 Jan 23 15:49 cyrus.cache > >>>>> -rw-------. 1 cyrus mail 154 Jan 21 09:58 cyrus.header > >>>>> -rw-------. 1 cyrus mail 416 Jan 23 15:49 cyrus.index > >>>>> > >>>>> # cat /etc/imapd.conf > >>>>> configdirectory: /var/lib/imap > >>>>> partition-default: /var/spool/imap > >>>>> admins: cyrus > >>>>> sievedir: /var/lib/imap/sieve > >>>>> sendmail: /usr/sbin/sendmail > >>>>> hashimapspool: true > >>>>> sasl_pwcheck_method: auxprop > >>>>> sasl_mech_list: PLAIN DIGEST-MD5 CRAM-MD5 > >>>>> sasl_auxprop_plugin:sasldb > >>>>> allowplaintext: yes > >>>>> virtdomains: userid > >>>>> tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem > >>>>> tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem > >>>>> tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt > >>>>> tls_cipher_list: TLSv1:SSLv3:!NULL:!EXPORT:!DES:!LOW:@STRENGTH > >>>> Run "cyradm --user cyrus localhost" and type "lm *". Is the mailbox > >>>> "user.test" in the output? > >>>> > >>>> Andy > >>> ------- End of Original Message ------- > >>> > >>> Output from cyradm: > >>> > >>> $ cyradm --user cyrus localhost > >>> Password: > >>> localhost> lm * > >>> user.test (\HasNoChildren) > >>> localhost> > >>> > >>> Charles Bradshaw > >>> ---- > >>> Cyrus Home Page: http://www.cyrusimap.org/ > >>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > >>> To Unsubscribe: > >>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus > >> -- > >> There is a greater darkness than the one we fight. It is the > >> darkness of the soul that has lost its way. The war we fight is not > >> against powers and principalities, it is against chaos and despair. > >> Greater than the death of flesh is the death of hope, the death of > >> dreams. Against this peril we can never surrender. The future is all > >> around us, waiting in moments of transition, to be born in moments > >> of revelation. No one knows the shape of that future, or where it > >> will take us. We know only that it is always born in pain. G'Kar > > ------- End of Original Message ------- > > > > -- > There is a greater darkness than the one we fight. It is the > darkness of the soul that has lost its way. The war we fight is not > against powers and principalities, it is against chaos and despair. > Greater than the death of flesh is the death of hope, the death of > dreams. Against this peril we can never surrender. The future is all > around us, waiting in moments of transition, to be born in moments > of revelation. No one knows the shape of that future, or where it > will take us. We know only that it is always born in pain. G'Kar ------- End of Original Message ------- ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus