Cyradm Stops Working after upgrade
sconway at wlnet.com
Tue Mar 14 16:44:35 EST 2006
I am using saslauthd and upgraded this also. I am using a service script to
start both the saslauthd and the master process:
Saslauthd (from /etc/sysconfig/saslauthd):
# Directory in which to place saslauthd's listening socket, pid file, and so
# on. This directory must already exist.
# Mechanism to use when checking passwords. Run "saslauthd -v" to get a
# of which mechanism your installation was compiled to use.
# Additional flags to pass to saslauthd on the command line. See
# for the list of accepted flags.
# Options to cyrus-master
# Mailbox list dumps are rotated n times via cron.daily
When I run both via these. I can see that POP3 logins work fine, but any
IMAP connections do not.
From: Stephen Conway [mailto:sconway at wlnet.com]
Sent: Monday, March 13, 2006 4:39 PM
To: 'info-cyrus at lists.andrew.cmu.edu'
Subject: RE: Cyradm Stops Working after upgrade
Actually further to this, POP logins are working, but IMAP are not. I think
this is why Cyradm can't login. Any idea why? Here is my imapd.conf:
admins: dima cyrus
defaultacl: cyrus c
Here is cyrus.conf:
# 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/imap/socket SERVICES
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp"
# 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
# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
From: info-cyrus-bounces at lists.andrew.cmu.edu
[mailto:info-cyrus-bounces at lists.andrew.cmu.edu] On Behalf Of Stephen Conway
Sent: Monday, March 13, 2006 1:28 PM
To: info-cyrus at lists.andrew.cmu.edu
Subject: Cyradm Stops Working after upgrade
I have recently upgraded from version cyrus-imapd-2.1.12 to
cyrus-imapd-2.2.12 , and as part of the requirement also upgraded my sasl
lib to cyrus-sasl-2.1.21. I converted my db files to skiplist and sieve
scripts, etc. All works fine after starting. Authentication of users /
mailboxes works fine. The sieve scripts are working as well. The only
problem I am facing, is everytime I try to login using cyradm (with command
line, or from Perl scripts) i get get the following:
# cyradm --auth login --user cyrus --pass ANYTHING localhost Login failed:
can't request info until later in exchange at
cyradm: cannot authenticate to server with login as cyrus
Any idea why standard authentication would work but cyradm would not?
ShipMail Now 30% Faster
Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ:
http://cyruswiki.andrew.cmu.edu List Archives/Info:
ShipMail Now 30% Faster
More information about the Info-cyrus