[pkg-kolab] Problems to connect to imap
Marcello Bellini
m.bellini at mpicc.de
Wed May 3 09:37:51 UTC 2006
Hi,
I have a problem to connect to the imap server. When I try to log in
using 'cyradm --user=manager localhost' I get the message:
badlogin: localhost.localdomain [127.0.0.1] plaintext manager invalid user
Logging in via the kolab-webfrontend is no problem.
This is the output from the syslog:
May 3 11:22:14 kolab cyrus/master[8830]: set maximum file descriptors to
256/256
May 3 11:22:14 kolab cyrus/master[8830]: about to
exec /usr/lib/cyrus/bin/imapd
May 3 11:22:14 kolab cyrus/imap[8830]: executed
May 3 11:22:14 kolab cyrus/imap[8830]: telling master 2
May 3 11:22:14 kolab cyrus/imap[8830]: accepted connection
May 3 11:22:14 kolab cyrus/imap[8830]: telling master 3
May 3 11:22:14 kolab cyrus/master[8797]: service imap pid 8830 in READY
state: now unavailable and in BUSY state
May 3 11:22:14 kolab cyrus/master[8797]: service imap now has 0 ready workers
May 3 11:22:14 kolab cyrus/master[8797]: service imap pid 8830 in BUSY state:
now serving connection
May 3 11:22:14 kolab cyrus/master[8797]: service imap now has 0 ready workers
May 3 11:22:17 kolab slapd[8696]: connection_get(10): got connid=2
May 3 11:22:17 kolab slapd[8696]: connection_read(10): checking for input on
id=2
May 3 11:22:17 kolab slapd[8696]: do_bind
May 3 11:22:17 kolab slapd[8696]: ber_get_next on fd 10 failed errno=11
(Resource temporarily unavailable)
May 3 11:22:17 kolab slapd[8696]: >>> dnPrettyNormal:
<cn=nobody,cn=internal,dc=mpicc,dc=de>
May 3 11:22:17 kolab slapd[8696]: <<< dnPrettyNormal:
<cn=nobody,cn=internal,dc=mpicc,dc=de>,
<cn=nobody,cn=internal,dc=mpicc,dc=de>
May 3 11:22:17 kolab slapd[8696]: do_bind: version=2
dn="cn=nobody,cn=internal,dc=mpicc,dc=de" method=128
May 3 11:22:17 kolab slapd[8696]: send_ldap_result: conn=2 op=0 p=2
May 3 11:22:17 kolab slapd[8696]: send_ldap_response: msgid=1 tag=97 err=2
May 3 11:22:17 kolab cyrus/imap[8830]: ldap_simple_bind() failed 2 (Protocol
error)
May 3 11:22:17 kolab slapd[8696]: connection_get(10): got connid=2
May 3 11:22:17 kolab slapd[8696]: connection_read(10): checking for input on
id=2
May 3 11:22:17 kolab slapd[8696]: do_unbind
May 3 11:22:17 kolab cyrus/imap[8830]: ptload(): pinging ptloader
May 3 11:22:17 kolab slapd[8696]: ber_get_next on fd 10 failed errno=0
(Success)
May 3 11:22:17 kolab cyrus/imap[8830]: ptload(): can't connect to ptloader
server: No such file or directory
May 3 11:22:17 kolab slapd[8696]: connection_read(10): input error=-2 id=2,
closing.
May 3 11:22:17 kolab slapd[8696]: connection_closing: readying conn=2 sd=10
for close
May 3 11:22:17 kolab cyrus/imap[8830]: badlogin: localhost.localdomain
[127.0.0.1] plaintext manager invalid user
May 3 11:22:17 kolab slapd[8696]: connection_close: deferring conn=2 sd=10
May 3 11:22:17 kolab slapd[8696]: connection_resched: attempting closing
conn=2 sd=10
May 3 11:22:17 kolab slapd[8696]: connection_close: conn=2 sd=10
May 3 11:22:17 kolab cyrus/imap[8830]: telling master 1
May 3 11:22:17 kolab cyrus/master[8797]: service imap pid 8830 in BUSY state:
now available and in READY state
May 3 11:22:17 kolab cyrus/master[8797]: service imap now has 1 ready workers
May 3 11:23:17 kolab cyrus/master[8797]: process 8830 exited, status 0
May 3 11:23:17 kolab cyrus/master[8797]: service imap now has 0 ready workers
Here is my imap.conf:
# Debian Cyrus imapd.conf
# $Id: imapd.conf 95 2005-04-08 00:10:54Z sven $
# See imapd.conf(5) for more information and more options
# Configuration directory
configdirectory: /var/lib/cyrus
# Which partition to use for default mailboxes
defaultpartition: default
partition-default: /var/spool/cyrus/mail
# News setup
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
unixhierarchysep: yes
reject8bit: no
munge8bit: no
lmtp_downcase_rcpt: yes
admins: manager
# No anonymous logins
allowanonymouslogin: no
autocreatequota: 100000
quotawarn: 80
# umask used by Cyrus programs
umask: 077
sendmail: /usr/sbin/sendmail
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
# Allow plaintext logins by default (SASL PLAIN)
allowplaintext: yes
# Force PLAIN/LOGIN authentication only
# (you need to uncomment this if you are not using an auxprop-based SASL
# mechanism. saslauthd users, that means you!). And pay attention to
# sasl_minimum_layer and allowapop below, too.
sasl_mech_list: PLAIN
loginrealms: mpicc.de
sasl_pwcheck_method: saslauthd
sasl_auto_transition: no
#
# SSL/TLS Options
#
tls_cert_file: /etc/kolab/cert.pem
tls_key_file: /etc/kolab/key.pem
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
syslog_prefix: cyrus
##
## DEBUGGING
##
# Debugging hook. See /usr/share/doc/cyrus22-common/README.Debian.debug
# Keep the hook disabled when it is not in use
#
# gdb Back-traces
#debug_command: /usr/bin/gdb -batch -cd=/tmp -x /usr/lib/cyrus/get-backtrace.gdb /usr/lib/cyrus/bin/%s %d
>/tmp/gdb-backtrace.cyrus.%1$s.%2$d <&- 2>&1 &
#
# system-call traces
#debug_command: /usr/bin/strace -tt -o /tmp/strace.cyrus.%s.%d -p %2$d <&-
2>&1 &
#
# library traces
#debug_command: /usr/bin/ltrace -tt -n 2 -o /tmp/ltrace.cyrus.%s.%d -p %2$d
<&- 2>&1 &
#### ADDITIONAL KOLAB KONFIGURATION ######
username_tolower: 1
# add support for posting to shared folders
postuser: kolab
userprefix: user
sharedprefix: shared
# support for lookup of mailbox name from local LDAP server
ldap_uri: ldap://127.0.0.1:389
ldap_base: dc=mpicc,dc=de
ldap_bind_dn: cn=nobody,cn=internal,dc=mpicc,dc=de
ldap_password: fAcWsPiea4Ejkbx4Q0jcMzByf923bn70zdIzucJK
ldap_time_limit: 15
virtdomains: ldap
Has someone any ideas??
Regards,
Marcello
More information about the pkg-kolab-devel
mailing list