Problem running ctl_mboxlist with murder

Edward Prendergast edward.prendergast at netring.co.uk
Wed Oct 24 10:45:25 EDT 2007


Hi,

I'm working on setting up cyrus-murder with two machines. One already has a
working setup using cyrus-imapd + saslauth + ldap  + postfix. 

When I go down to the cyrus user and run:
	/usr/lib/cyrus-imapd/ctl_mboxlist -mw  
I get no output. The same goes for:
	/usr/lib/cyrus-imapd/ctl_mboxlist -d

When I check the maillog I see: 
       Oct 24 15:40:44 chrisnux mupdate[3124]: login: 192.168.1.10
[192.168.1.10] mupdateslave1 PLAIN User logged in
So the user is logging in fine (mupdateslave1 exists in ldap) but nothing
actually appears to be happening. I've tried to turn on more verbose logging
but to no avail:

>From /etc/syslog.conf:

local6.debug                                            -/var/log/imapd.log

/var/log/imapd.conf remains empty.

This is currently how I'm loading up the MUPDATE instance of cyrus: 
	/usr/lib/cyrus-imapd/cyrus-master -d -C /etc/imapd_mupdate.conf -M
/etc/cyrus_mupdate.conf -p /var/run/cyrus-master-mupdate.pid


My MUPDATE imapd config looks like this:
configdirectory: /imap/conf
partition-default: /tmp
admins: mupdateslave1 backend1





My MUPDATE cyrus config looks like this:
# standard standalone server implementation

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 {
  # 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

  mupdate       cmd="/usr/lib/cyrus-imapd/mupdate -m" listen=3905 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
}






My mailserver1 cyrus config looks like this:
# standard standalone server implementation

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 {
  # 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
}






My mailserver1 imapd config looks like this:

configdirectory: /var/lib/imap
#partition-default: /var/spool/imap
admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
#hashimapspool: true
hashimapspool: false
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt

# custom
defaultdomain: chris.office
virtdomains: yes
partition-default: /var/mail/vhosts

mupdate_server: 192.168.1.10
mupdate_username: mupdateslave1
mupdate_password: secret
proxyservers: murder

Thanks for your time,
Edward


************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any action taken or
omitted to be taken in reliance on it, any form of reproduction,
dissemination, copying, disclosure, modification, distribution and/or
publication of this E-mail message is strictly prohibited and may be
unlawful. If you have received this E-mail message in error, please notify
us immediately. Please also destroy and delete the message from your
computer.
************



More information about the Info-cyrus mailing list