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 at 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
-------------- next part --------------
Apr 15 09:11:10 master: Warning: Killed with signal 15 (by pid=0 uid=0
code=kill)
Apr 15 09:17:40 lda(daniell at domain): Error:
net_connect_unix(/var/dovecot//dict) failed: Permission denied
(euid=8001(<getpwuid() error>) egid=8000([?{/?O}D}?L}@W}) missing +r perm:
/var/dovecot//dict, euid is not dir owner, conflicting dir
gid=0([?{/?O}D}?L}@W}))
Apr 15 09:17:40 lda(daniell at domain): Error: Internal quota calculation error
Apr 15 09:22:58 pop3(varga at amakft.hu): Error:
net_connect_unix(/var/dovecot//dict) failed: Permission denied
(euid=8044(<getpwuid() error>) egid=8000([; )??
Apr 15 09:22:58 pop3: Error: ?
Apr 15 09:22:58 pop3: Error: ??
Apr 15 09:22:58 pop3: Error: @?
Apr 15 09:22:58 pop3: Error: ) missing +r perm: /var/dovecot//dict, euid is not
dir owner, conflicting dir gid=0([; )??
Apr 15 09:22:58 pop3: Error: ?
Apr 15 09:22:58 pop3: Error: ??
Apr 15 09:22:58 pop3: Error: @?
Apr 15 09:22:58 pop3: Error: ))