[Dovecot] Problems under opensuse-10.3-x86_64
Christian Kuehn
christian at hamburg.gay-web.de
Mon Jun 2 09:06:43 EEST 2008
Hi,
I have a lot of problems to compile or to run the dovecot on my OpenSUSE
10.3 x86_64.
Sometimes the compiled binary cannot read the existing and running
config, the dovecot -n results in:
ian:/opt/src/build/dovecot-1.1.rc7 # /opt/dovecot/sbin/dovecot -n #
1.1.rc7: /etc/dovecot/dovecot.conf
Error: Missing auth section for server default
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
The prebuild RPM-daemon (v 10.0.13) said:
ian:/opt/src/build/dovecot-1.1.rc7 # dovecot -n
# 1.0.13: /etc/dovecot/dovecot.conf
listen: *:8088
ssl_listen: *:10943
ssl_disable: yes
ssl_cert_file: /etc/exim/www.foo-bar.de.crt
ssl_key_file: /etc/exim/www.foo-bar.de.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /opt/dovecot/libexec/dovecot/imap-login
first_valid_uid: 98
mail_location: maildir:~/maildir
mail_executable: /opt/dovecot/libexec/dovecot/imap
auth default:
passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
This looks fine and right, but there is no access to my old maildir
(created by courier-imap) and I found several entries like this in my
maillog:
May 27 19:13:54 ian dovecot: IMAP(tkstest at foor-bar.de): Unexpected eof
found when reading file 'UNOPENED' (Errcode: 0)
or:
May 27 16:22:44 ian dovecot: IMAP(tkstest at foo-bar.de): Corrupted
transaction log file
/var/spool/virtuser/xxxxx/mail/INBOX./.imap/Trash/dovecot.index.log:
unexpected end of file while reading header
or:
May 27 18:05:44 ian dovecot: IMAP(tkstest at foo-bar.de): file
mail-index.c: line 1
900 (mail_index_move_to_memory): assertion failed: (index->fd == -1)
May 27 18:05:44 ian dovecot: IMAP(tkstest at foo-bar.de): Raw backtrace:
imap [0x4648be] -> imap [0x4645fe] -> imap [0x443834] -> imap [0x450b08]
-> imap(mail_index_open+0x1df) [0x444e6f] ->
imap(index_storage_mailbox_init+0x159) [0x43c119] ->
imap [0x41fe0d] -> imap [0x420ab8] -> imap(_cmd_select_full+0xaa)
[0x4149ca] -> imap(cmd_select+0xb) [0x414b7b] -> imap [0x415e97] -> imap
[0x415f29] -> imap(_client_input+0x6f) [0x4165cf] ->
imap(io_loop_handler_run+0x101) [0x46a021] -> imap(io_loop_run+0x18)
[0x4691f8] -> imap(main+0x457) [0x41e087] ->
/lib64/libc.so.6(__libc_start_main+0xf4) [0x2b5ab1476ae4] -> imap [0x411719]
May 27 18:05:44 ian dovecot: child 15320 (imap) killed with signal 6
Tested versions:
1.0.13 RPM by OpenSUSE
1.0.13 self-compiled
1.1.rc7 self-compiled
OS:
Linux ian 2.6.18.8-0.9-default #1 SMP Sun Feb 10 22:48:05 UTC 2008
x86_64 x86_64 x86_64 GNU/Linux
configure:
./configure --prefix=/opt/dovecot --sysconfdir=/etc/dovecot --with-mysql
--with-pop3d --with-notify=inotify --with-ioloop=epoll --with-sql
CPPFLAGS='-fPIC -I/opt/mysql/include' LDFLAGS='-L/opt/mysql/lib
-lmysqlclient -lz -lcrypt -lnsl -lm'
Any ideas?
Kind Regards
Christian
--
Christian Kuehn
eMail: christian at hamburg.gay-web.de
More information about the dovecot
mailing list