Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I try to access the inbox from Thunderbird 17.0.8, I get the following error:

The current operation on 'inbox' did not succeed. The mail server for account peter@ejemplo.org responded: MailBox does not exist.

Try creating the inbox as follows:

cyradm -user cyrus localhost imap
localhost> createmailbox user.peter@ejemplo.org

This command works, I can see the inbox list.

cyradm -user cyrus localhost imap
Password: 
localhost> lm
algo (\HasNoChildren)                          
coco (\HasNoChildren)                          
peter (\HasNoChildren)                         
peter2 (\HasNoChildren)                        
peter3@ejemplo/org (\HasNoChildren)            
peter@ejemplo/org (\HasChildren)               
peter@ejemplo/org/INBOX/Sent (\HasNoChildren)  
user.peter@ejemplo.org (\HasNoChildren)        
user/peter (\HasNoChildren) 

I'm using cyrus murder with one backend and one frontend that is also a mupdate. Among them communicate well, if I create the inbox in backend and ready is displayed in both backend and frontend.

The inbox simpre the attempt to create from the backend.

The configuration of both servers is the following:

======================= Configuration of backend =======================

Server Name: backend.ejemplo.org

Operating System: Centos 6.0 (Final)

Server SMTP: Postfix 2.6.6

Server IMAP: Cyrus IMAP Murder v2.3.16-Fedora-RPM-2.3.16-6.el6_2.5 server ready

postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
inet_protocols = all
local_destination_concurrency_limit = 5
local_destination_recipient_limit = 300
mail_owner = postfix
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = ejemplo.org
myhostname = backend.ejemplo.org
mynetworks_style = host
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_sasl_mechanism_filter = plain
smtp_tls_note_starttls_offer = yes
smtp_use_tls = no #majito toco
smtpd_banner = $myhostname
smtpd_client_restrictions = permit_sasl_authenticated, permit_mynetworks
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,                               permit_mynetworks,                         permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = 
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550

/etc/imapd.conf:

partition-default: /var/spool/imap
mupdate_server: frontendlinux.ejemplo.org
mupdate_port: 3905
mupdate_username: murder
mupdate_authname: murder
mupdate_password: foo
admins: cyrus
proxyservers: murder
configdirectory: /var/lib/imap
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
# qosmarking: af13
defaultdomain: ejemplo.org
servername: backend.ejemplo.org
allowanonymouslogin:    no
allowplaintext:         yes
#autocreatequota:                -1
#createonpost:                   yes
#autocreateinboxfolders:         spam
#autosubscribeinboxfolders:      spam

/etc/cyrus.conf:

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
  idled         cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/lib/imap/sockets
SERVICES {

  #majito: murder

  #fin de majito.

  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=5
#  imaps                cmd="imapd -s" listen="imaps" prefork=1
  pop3          cmd="pop3d" listen="pop3" prefork=3
#  pop3s                cmd="pop3d -s" listen="pop3s" prefork=1
  sieve         cmd="timsieved" listen="sieve" prefork=0

  # these are only necessary if receiving/exporting usenet via NNTP
#  nntp         cmd="nntpd" listen="nntp" prefork=3
#  nntps                cmd="nntpd -s" listen="nntps" prefork=1

  # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
  lmtpunix      cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1

  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression,
  # Sieve or NNTP
  delprune      cmd="cyr_expire -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" at=0400
}

/etc/sasl2/smtpd.conf:

pwcheck_method: saslauthd
mech_list: plain login

======================= Configuration of frontend =======================

Server Name: frontendlinux.ejemplo.org

Operating System: Centos 6.0 (Final)

Server SMTP: Postfix 2.6.6

Server IMAP: Cyrus IMAP Murder v2.3.16-Fedora-RPM-2.3.16-6.el6_2.5 server ready

postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
inet_protocols = all
local_destination_concurrency_limit = 5
local_destination_recipient_limit = 300
mail_owner = postfix
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = ejemplo.org
myhostname = frontendlinux.ejemplo.org
mynetworks = 127.0.0.0/8, 192.168.100.0/24, 169.254.220.0/24
mynetworks_style = host
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_sasl_mechanism_filter = plain
smtp_tls_note_starttls_offer = yes
smtp_use_tls = no
smtpd_banner = $myhostname
smtpd_client_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,                                  permit_mynetworks,                                  reject_unauth_destination,                                  reject_invalid_hostname,                                  reject_non_fqdn_hostname,                                  reject_non_fqdn_sender,                                  reject_non_fqdn_recipient,                                  reject_unknown_sender_domain,                                  reject_unknown_recipient_domain,                                  reject_unauth_pipelining,                                  reject_rbl_client zen.spamhaus.org,                                  reject_rbl_client bl.spamcop.net,                                  reject_rbl_client dnsbl.njabl.org,                                  reject_rbl_client dnsbl.sorbs.net,                                  permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = 
smtpd_tls_cert_file = none
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550

vi /etc/imapd.conf:

admins: cyrus murder
umask: 077
allowplaintext: yes
sasl_pwcheck_method: saslauthd
hashimapspool: true
mupdate_server: frontendlinux.ejemplo.org
mupdate_port: 3905
mupdate_authname: murder
mupdate_username: murder
mupdate_password: foo
mupdate_retry_delay: 10
backendmachinename1_password: foo
proxy_authname: murder
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
sasl_mech_list: PLAIN
allowanonymouslogin:    no
createonpost:                   yes

/etc/cyrus.conf:

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
  idled         cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/lib/imap/sockets
SERVICES {

  mupdate       cmd="/usr/lib/cyrus-imapd/mupdate -m" listen=3905 prefork=1
  #fin de majito.

  # add or remove based on preferences
  imap          cmd="proxyd" listen="imap" prefork=5
  #imaps                cmd="imapd -s" listen="imaps" prefork=1
  #pop3         cmd="pop3proxyd" listen="pop3" prefork=3
  #pop3s                cmd="pop3d -s" listen="pop3s" prefork=1
  sieve         cmd="timsieved" listen="sieve" prefork=0

  # these are only necessary if receiving/exporting usenet via NNTP
#  nntp         cmd="nntpd" listen="nntp" prefork=3
#  nntps                cmd="nntpd -s" listen="nntps" prefork=1

  # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
#  lmtpunix     cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
   lmtp         cmd="lmtpproxyd" listen="lmtp" prefork=1 maxchild=20
  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression,
  # Sieve or NNTP
  delprune      cmd="cyr_expire -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" at=0400
}

/etc/sasl2/smtpd.conf:

pwcheck_method: saslauthd mech_list: plain login

share|improve this question
    
This gave me for permission denied, but to create either the inbox was solved. Now I have another problem but I'll enter a new question. The solution for the issue of permits was adding the following lines in imapd.conf: admins:cyrus unixhierarchysee:1 –  Maria José Aug 27 '13 at 18:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.