[Dovecot] Problems with upgrade 2.0.16 -> 2.1.3
I ran into two issues trying to upgrade our dovecot installation (Solaris 10).
Does not compile with OpenSSL 0.9.7
Not a big deal, as I was able to successfully against OpenSSL 0.9.8, but does dovecot require OpenSSL >= 0.9.8 now?
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-test -std=gnu99 -O3 -fomit-frame-pointer -mcpu=ultrasparc -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -MT istream-openssl.lo -MD -MP -MF .deps/istream-openssl.Tpo -c istream-openssl.c -fPIC -DPIC -o .libs/istream-openssl.o iostream-openssl-context.c:9:28: openssl/engine.h: No such file or directory iostream-openssl-context.c: In function
ssl_iostream_deinit_global': iostream-openssl-context.c:431: warning: implicit declaration of function
ENGINE_finish' iostream-openssl-context.c:432: warning: implicit declaration of function `ENGINE_cleanup' ...Dovecot's LDA does not work
After stopping the the old dovecot, and starting dovecot 2.1.3 using tghe exact same config file, local mail delivery tempfails:
Mar 23 02:51:51 server dovecot: auth: Error: getpeerucred() failed: Bad address Mar 23 02:51:51 server dovecot: auth: Error: userdb connection: Failed to get peer's credentials Mar 23 02:51:51 server dovecot: lda: Error: userdb lookup(j.tam): Disconnected unexpectedly Mar 23 02:51:51 server dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
# Sendmail reports stat=Deferred: local mailer (/var/dovecot/libexec/dovecot-lda) exited with EX_TEMPFAIL
After seeing 2) in the logs, I had to revert back to 2.0.16. Any hints on what could be wrong?
Joseph Tam jtam.home@gmail.com
# 2.0.16: /var/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.10 sun4u nfs auth_cache_negative_ttl = 10 mins auth_cache_size = 64 k auth_cache_ttl = 1 days auth_failure_delay = 5 secs auth_master_user_separator = * auth_socket_path = /var/dovecot/run/auth-userdb auth_username_chars = abcdefghijklmnopqrstuvwxyz01234567890.-_ auth_worker_max_count = 1 base_dir = /var/dovecot/run default_vsz_limit = 64 M deliver_log_format = first_valid_gid = 10000 first_valid_uid = 10000 hostname = our.mail.domain last_valid_gid = 19999 last_valid_uid = 19999 lda_mailbox_autocreate = yes log_timestamp = login_greeting = Ready. mail_location = mbox:/nfs/home/%n/mail:INBOX=/nfs/mail/%n:INDEX=/data/dc-cache/%n mail_nfs_storage = yes mail_temp_dir = /var/tmp mbox_very_dirty_syncs = yes mbox_write_locks = dotlock_try fcntl namespace { inbox = yes location = prefix = separator = / } namespace { hidden = yes list = no location = prefix = / separator = / } namespace { hidden = yes list = no location = prefix = ~/mail/ separator = / } namespace { hidden = yes list = no location = prefix = mail/ separator = / } passdb { args = /var/dovecot/etc/master-users driver = passwd-file master = yes pass = yes } passdb { args = /var/yp/etc/passwd driver = passwd-file } postmaster_address = MAILER-DAEMON@our.mail.domain protocols = imap pop3 sendmail_path = /usr/lib/sendmail service auth-worker { user = dovecot } service auth { idle_kill = 1 hours } service imap-login { process_limit = 2 service_count = 0 } service imap { process_limit = 512 } service pop3-login { process_limit = 1 service_count = 0 } service pop3 { process_limit = 64 } shutdown_clients = no ssl_cert =
On 23.3.2012, at 12.58, Joseph Tam wrote:
I ran into two issues trying to upgrade our dovecot installation (Solaris 10).
- Does not compile with OpenSSL 0.9.7
Not a big deal, as I was able to successfully against OpenSSL 0.9.8, but does dovecot require OpenSSL >= 0.9.8 now?
Hm. Maybe it's time by now? :) It could be fixed with some more #ifdefs but those make code more unreadable.
- Dovecot's LDA does not work
After stopping the the old dovecot, and starting dovecot 2.1.3 using tghe exact same config file, local mail delivery tempfails:
Mar 23 02:51:51 server dovecot: auth: Error: getpeerucred() failed: Bad address
http://hg.dovecot.org/dovecot-2.1/rev/98fd46f8d1ab fixes this?
On Fri, 23 Mar 2012, Timo Sirainen wrote:
On 23.3.2012, at 12.58, Joseph Tam wrote:
I ran into two issues trying to upgrade our dovecot installation (Solaris 10).
- Does not compile with OpenSSL 0.9.7
Not a big deal, as I was able to successfully against OpenSSL 0.9.8, but does dovecot require OpenSSL >= 0.9.8 now?
Hm. Maybe it's time by now? :) It could be fixed with some more #ifdefs but those make code more unreadable.
It might still compile with OpenSSL 0.9.7 if it is built with engine support (the default), but yeah, it's time to move to 0.9.8 or 1.0.0.
- Dovecot's LDA does not work
After stopping the the old dovecot, and starting dovecot 2.1.3 using the exact same config file, local mail delivery tempfails:
Mar 23 02:51:51 server dovecot: auth: Error: getpeerucred() failed: Bad address
http://hg.dovecot.org/dovecot-2.1/rev/98fd46f8d1ab fixes this?
Spot on, as usual. Thanks.
Joseph Tam jtam.home@gmail.com
participants (2)
-
Joseph Tam
-
Timo Sirainen