[Dovecot] Dovecot v2.0.12 OpenBSD - getpwuid() error
Hi!
I've upgraded from 2.0.11 to 2.0.12. I've experienced errors during delivery with dovecot-lda. The error log attached contains the errors. Since then I had to downgrade to 2.0.11, to make it work again. When starting 2.0.12, it couldn't chown() the files under /var/dovecot (eg.: dict) to the user specified in the configuration file.
Configuration:
# doveconf -n
# 2.0.11: /etc/dovecot/dovecot.conf
# OS: OpenBSD 4.8 i386
auth_master_user_separator = *
auth_mechanisms = plain login digest-md5 ntlm
auth_verbose = yes
base_dir = /var/dovecot/
default_internal_user = _dovecot
default_login_user = _dovenull
dict/quota = pgsql:/etc/dovecot/dovecot_dict-sql.conf
first_valid_gid = 8000
first_valid_uid = 8000
info_log_path = /var/log/mail/dovecot.info
listen = ip 127.0.0.1
log_path = /var/log/mail/dovecot.log
mail_location = maildir:~/Maildir/
mail_plugins = quota
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
passdb {
args = /etc/dovecot/master_passdb-sql.conf
driver = sql
master = yes
pass = yes
}
plugin/quota = dict:User quota::proxy::quota
plugin/quota_rule = *:storage=100M
plugin/quota_rule2 = Trash:storage=+50M
plugin/sieve = ~/dovecot.sieve
plugin/sieve_dir = ~/sieve
plugin/sieve_global_dir = /var/mail_virtual/sieve/
plugin/sieve_max_script_size = 1M
plugin/sieve_quota_max_scripts = 5
plugin/sieve_quota_max_storage = 5M
protocols = pop3 imap sieve
service auth {
unix_listener /var/spool/postfix/private/auth {
group = _postfix
mode = 0660
}
unix_listener /var/www/priv/dovecot-auth {
group = www
mode = 0660
}
unix_listener auth-master {
group = vmail
mode = 0660
}
}
service dict {
unix_listener dict {
group = vmail
mode = 0660
}
}
service imap-postlogin {
executable = script-login /etc/dovecot/postlogin.sh
user = root
}
service imap {
executable = imap imap-postlogin
}
service managesieve-login {
vsz_limit = 64 M
}
service pop3-postlogin {
executable = script-login /etc/dovecot/postlogin.sh
user = root
}
service pop3 {
executable = pop3 pop3-postlogin
}
ssl = required
ssl_cert = </etc/ssl/dovecot_cert.pem
ssl_key = </etc/ssl/private/dovecot_key.pem
userdb {
driver = prefetch
}
userdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
protocol imap {
mail_plugins = quota imap_quota
}
protocol pop3 {
mail_plugins = quota
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
deliver_log_format = msgid=%m, from=%f, subject=%s: %$
mail_plugins = quota sieve
postmaster_address = postmaster@domain
sendmail_path = /usr/local/sbin/sendmail
}
Daniel
-- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
On p, ápr 15, 2011 at 10:14:31 +0200, LEVAI Daniel wrote:
Hi!
I've upgraded from 2.0.11 to 2.0.12. I've experienced errors during delivery with dovecot-lda. The error log attached contains the errors. Since then I had to downgrade to 2.0.11, to make it work again. When starting 2.0.12, it couldn't chown() the files under /var/dovecot (eg.: dict) to the user specified in the configuration file.
Probably something to do with getpwuid() -> i_getpwuid() changes, and the new functions in src/lib/ipwd.c?
Daniel
-- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
participants (1)
-
LEVAI Daniel