no connection do IMAP, db error occurs
benjamin200 at arcor.de
benjamin200 at arcor.de
Sat Feb 12 07:17:06 EST 2005
Hello
I would like to set-up an working IMAP Server on an up-to-date Gentoo System. I used the Postfix-Cyrus-Web-cyradm-HOWTO which can be found on http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/index.html
The IMAP Server should run with postfix and authentication should through my running MYSQL database. Because I used Gentoo, I compile all packages with the emerge commad. Here are the versions for my installed packages:
cyrus-sasl-2.1.20
cyrus-imapd-2.2.10
postfix-2.1.5-r2
mysql-4.0.22-r2
pam_mysql-0.5
I downloaded web-cyradm-0.5.4-1.tar.gz manually from web and extract it on my apache2 server. Up to now I have not investigate time in it, because I have db errors with sasl and cyrus.
If I write the cyrus user with the command...
bash-2.05b# saslpasswd2 -c cyrus
Password:
Again (for verification):
bash-2.05b#
... the followig error appear in /var/log/messages:
Feb 12 12:57:15 server saslpasswd2: sql_select option missing
Feb 12 12:57:15 server saslpasswd2: auxpropfunc error no mechanism available
Feb 12 12:57:15 server saslpasswd2: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Feb 12 12:57:19 server saslpasswd2: setpass succeeded for cyrus
Feb 12 12:57:19 server saslpasswd2: error deleting entry from sasldb: DB_NOTFOUND: No matching key/data pair found
Feb 12 12:57:19 server saslpasswd2: error deleting entry from sasldb: DB_NOTFOUND: No matching key/data pair found
Feb 12 12:57:19 server saslpasswd2: error deleting entry from sasldb: DB_NOTFOUND: No matching key/data pair found
I do not understand why sasl does not find the DB. Furthermore, If I set up the command to the connect to the Server I get the following output:
bash-2.05b# cyradm --user cyrus --server localhost --auth plain
cyradm: cannot connect to server
bash-2.05b#
This are the actually opened ports:
bash-2.05b# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:imaps *:* LISTEN
tcp 0 0 server.linux-worl:imaps *:* LISTEN
tcp 0 0 *:pop3s *:* LISTEN
tcp 0 0 localhost:mysql *:* LISTEN
tcp 0 0 *:pop-3 *:* LISTEN
tcp 0 0 localhost:sieve *:* LISTEN
tcp 0 0 server.linux-worl:sieve *:* LISTEN
tcp 0 0 *:10000 *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:https *:* LISTEN
udp 0 0 *:10000 *:*
raw 840 0 *:icmp *:* 7
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 7372 /tmp/ksocket-root/kdeinit__0
unix 2 [ ACC ] STREAM LISTENING 34536 /var/imap/socket/lmtp
unix 2 [ ACC ] STREAM LISTENING 7305 /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 6837 /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 7484 /tmp/mcop-root/server_linux-world_site-1cfa-420d0c34
unix 2 [ ACC ] STREAM LISTENING 6557 /dev/log
unix 2 [ ACC ] STREAM LISTENING 7374 /tmp/ksocket-root/kdeinit-:0
unix 2 [ ACC ] STREAM LISTENING 7384 /tmp/.ICE-unix/dcop7401-1108151331
unix 2 [ ACC ] STREAM LISTENING 7405 /tmp/ksocket-root/klauncher5Wgfea.slave-socket
unix 2 [ ACC ] STREAM LISTENING 34607 /var/lib/sasl2/mux
unix 2 [ ACC ] STREAM LISTENING 6981 /var/run/cgisock
unix 2 [ ACC ] STREAM LISTENING 7554 /tmp/.ICE-unix/7442
bash-2.05b#
Hope anyone could help me to get the authentication worked.
All suggestions are welcome.
Thanks,
Benjamin
Arcor-DSL: die echte Flatrate für alle Bandbreiten. Jetzt ohne Einrichtungspreis
einsteigen oder wechseln. Arcor-DSL ist in vielen Anschlussgebieten verfügbar.
http://www.arcor.de/home/redir.php/emf-dsl-1
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list