Saturday, September 13, 2014

Cyrus-imapd error no mailbox

exp:
===
error: could not complete request. query: select "inbox" reason given: mailbox does not exist  
or
error: could not complete request. query: create "inbox/sent" reason given: permission denied

imapd.conf configuration
=============
[root@Grads etc]# vi imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus root <------------------- add root as cyrus admin
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
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
unixhierarchysep: yes

restart services
==========
service cyrus-imapd stop
service cyrus-imapd start

[root@Grads etc]# cyradm -u root localhost
localhost.localdomain> cm user/wilailak.1
localhost.localdomain> cm user/warut.ing
localhost.localdomain> lm user/wilailak.1
user/wilailak.1 (\HasChildren)
localhost.localdomain> lm user/warut.ing
user/warut.ing (\HasNoChildren)

ref:
http://oreilly.com/catalog/mimap/chapter/ch09.html
http://doc.norang.ca/cyrus-imap-server.html


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

ALCATEL 6900

write memory copy running certified reload from working no rollback-timeout