Cyrus lacks serve imap requests

Imre Veres imre.veres at gmail.com
Fri May 5 16:47:49 EDT 2006


Dear All,

I have a Cyrus-imapd problem thus I'd like to ask for help. Cyrus
works smoothly for a couple of IMAP connections but after then it
refuses connections with "User unknown" message. Certainly users and
passwords are the same as before. I cannot handle this kind of
operation, it seems somehow unstable.

Configuration: Ubuntu server 5.10, cyrus 2.1.18, cyrus-sasl 2 2.1.19
(if it does matter) - I'm using binary official cyrus package for
Ubuntu.

/etc/imapd.conf:

configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
defaultdomain: example.com
altnamespace: no
unixhierarchysep: yes
lmtp_downcase_rcpt: yes
admins: cyrus
lmtp_admins: lmtpuser
autocreatequota: 30720
autocreateinboxfolders: yes
autosubscribeinboxfolders: yes
allowanonymouslogin: no
umask: 077
sendmail: /usr/sbin/sendmail
sieveusehomedir: false
sievedir: /var/spool/sieve
postmaster: postmaster
sasl_pwcheck_method: saslauthd
sasl_mech_list: plain login
sasl_minimum_layer: 0
hashimapspool: false
allowplaintext: yes
lmtp_allowplaintext: yes
popminpoll: 2
allowapop: no
virtdomains: yes

Cyrus.conf:

START {
       recover         cmd="/usr/sbin/ctl_cyrusdb -r"
       delprune        cmd="/usr/sbin/ctl_deliver -E 3"
       tlsprune        cmd="/usr/sbin/tls_prune"
}

SERVICES {
       imap            cmd="imapd" listen="imap" prefork=0
       lmtp            cmd="lmtpd" listen="127.0.0.1:lmtp" prefork=0
maxchild=20
       sieve           cmd="timsieved" listen="localhost:sieve" prefork=0
       notify          cmd="notifyd"
listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1
}

EVENTS {
       checkpoint      cmd="/usr/sbin/ctl_cyrusdb -c" period=30
       delprune        cmd="/usr/sbin/ctl_deliver -E 3" at=0401
       tlsprune        cmd="/usr/sbin/tls_prune" at=0401
}

And server logs:

May  5 20:49:45 censor cyrus/master[6588]: about to exec
/usr/lib/cyrus/bin/imapd
May  5 20:49:45 censor cyrus/imap[6588]: executed
May  5 20:49:45 censor cyrus/imapd[6588]: telling master 2
May  5 20:49:45 censor cyrus/master[6572]: service imap pid 6588 in
READY state: now unavailable and in BUSY state
May  5 20:49:45 censor cyrus/imapd[6588]: accepted connection
May  5 20:49:45 censor cyrus/imapd[6588]: telling master 3
May  5 20:49:45 censor cyrus/master[6572]: service imap pid 6588 in
BUSY state: now serving connection
May  5 20:49:57 censor cyrus/imapd[6588]: login: [192.168.1.51] six plaintext
May  5 20:50:04 censor cyrus/imapd[6588]: skiplist: recovered
/var/lib/cyrus/user/s/six.seen (1 record, 280 bytes) in 0 seconds
May  5 20:50:04 censor cyrus/imapd[6588]: seen_db: user six opened
/var/lib/cyrus/user/s/six.seen
May  5 20:50:04 censor cyrus/imapd[6588]: open: user six opened
INBOXMay  5 21:34:55 censor cyrus/imapd[6588]: telling master 1
May  5 21:28:45 censor cyrus/master[6871]: about to exec
/usr/lib/cyrus/bin/imapd
May  5 21:28:45 censor cyrus/imap[6871]: executed
May  5 21:28:45 censor cyrus/imapd[6871]: telling master 2
May  5 21:28:45 censor cyrus/imapd[6871]: accepted connection
May  5 21:28:45 censor cyrus/imapd[6871]: telling master 3
May  5 21:28:45 censor cyrus/master[6572]: service imap pid 6871 in
READY state: now unavailable and in BUSY state
May  5 21:28:45 censor cyrus/master[6572]: service imap pid 6871 in
BUSY state: now serving connection
May  5 21:28:49 censor cyrus/imapd[6871]: login: [192.168.1.40]
viszokaizs plaintext
May  5 21:28:53 censor cyrus/imapd[6871]: seen_db: user viszokaizs
opened /var/lib/cyrus/user/v/viszokaizs.seen
May  5 21:28:53 censor cyrus/imapd[6871]: open: user viszokaizs opened INBOX
May  5 21:34:55 censor cyrus/master[6572]: service imap pid 6588 in
BUSY state: now available and in READY state
May  5 21:35:50 censor cyrus/imapd[6588]: telling master 2
May  5 21:35:50 censor cyrus/imapd[6588]: accepted connection
May  5 21:35:50 censor cyrus/imapd[6588]: telling master 3
May  5 21:35:50 censor cyrus/master[6572]: service imap pid 6588 in
READY state: now unavailable and in BUSY state
May  5 21:35:50 censor cyrus/master[6572]: service imap pid 6588 in
BUSY state: now serving connection
May  5 21:35:50 censor cyrus/imapd[6588]: badlogin: [192.168.1.51]
plaintext imre.veres SASL(-13): user not found: checkpass failed
May  5 21:35:56 censor cyrus/imapd[6588]: badlogin: [192.168.1.51]
plaintext six SASL(-13): user not found: checkpass failed
May  5 21:38:00 censor cyrus/imapd[6588]: badlogin: [192.168.1.51]
plaintext six SASL(-13): user not found: checkpass failed
May  5 21:41:37 censor cyrus/imapd[6588]: badlogin: [192.168.1.51]
plaintext six SASL(-13): user not found: checkpass failed
May  5 21:42:12 censor cyrus/imapd[6588]: badlogin: [192.168.1.51]
plaintext six SASL(-13): user not found: checkpass failed
May  5 21:43:21 censor cyrus/imapd[6871]: telling master 1
May  5 21:43:21 censor cyrus/master[6572]: service imap pid 6871 in
BUSY state: now available and in READY state
May  5 21:43:26 censor cyrus/imapd[6871]: telling master 2
May  5 21:43:26 censor cyrus/imapd[6871]: accepted connection
May  5 21:43:26 censor cyrus/imapd[6871]: telling master 3
May  5 21:43:26 censor cyrus/master[6572]: service imap pid 6871 in
READY state: now unavailable and in BUSY state
May  5 21:43:26 censor cyrus/master[6572]: service imap pid 6871 in
BUSY state: now serving connection
May  5 21:43:31 censor cyrus/imapd[6871]: badlogin: [192.168.1.40]
plaintext testuser SASL(-13): user not found: checkpass failed
May  5 21:43:45 censor cyrus/imapd[6871]: telling master 1
May  5 21:43:45 censor cyrus/master[6572]: service imap pid 6871 in
BUSY state: now available and in READY state
May  5 21:44:05 censor cyrus/imapd[6871]: telling master 2
May  5 21:44:05 censor cyrus/imapd[6871]: accepted connection
May  5 21:44:05 censor cyrus/imapd[6871]: telling master 3
May  5 21:44:05 censor cyrus/master[6572]: service imap pid 6871 in
READY state: now unavailable and in BUSY state
May  5 21:44:05 censor cyrus/master[6572]: service imap pid 6871 in
BUSY state: now serving connection
May  5 21:44:56 censor cyrus/imapd[6588]: badlogin: [192.168.1.51]
plaintext six SASL(-13): user not found: checkpass failed
May  5 21:47:24 censor cyrus/imapd[6588]: badlogin: [192.168.1.51]
plaintext six SASL(-13): user not found: checkpass failed
May  5 21:48:22 censor cyrus/imapd[6588]: badlogin: [192.168.1.51]
plaintext six SASL(-13): user not found: checkpass failed

As I can see process 6871 stuck up somehow. Process 6588 (started
before the other) worked till I restart mail client (at about 21:43, I
guess), then replies with badlogin messages, too.

So what's wrong? Configuration or Ubuntu linux or what the heck? Please help!

Thanks,

I.


More information about the Info-cyrus mailing list