I ran into two issues trying to upgrade our dovecot installation (Solaris 10).

1) 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'
        ...

2) 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.h...@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-dae...@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 = </var/dovecot/etc/ssl/imap.pem
ssl_key = </var/dovecot/etc/ssl/imap.pem
syslog_facility = local0
userdb {
  args = /var/dovecot/etc/passwd
  driver = passwd-file
}
protocol imap {
  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
  imap_id_log = *
  mail_max_userip_connections = 12
  ssl_cert = </var/dovecot/etc/ssl/imap.pem
  ssl_key = </var/dovecot/etc/ssl/imap.pem
}
protocol pop3 {
  mail_max_userip_connections = 3
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_logout_format = io=%i/%o top=%t/%p, retr=%r/%b, del=%d/%m, size=%s uid=%u
  pop3_reuse_xuidl = yes
  ssl_cert = </var/dovecot/etc/ssl/pop.pem
  ssl_key = </var/dovecot/etc/ssl/pop.pem
}

Reply via email to