Hi all,
I'm testing a dovecot-2.0-beta4 and it is great so far, except that I can't get the sieve plugin for the LDA configured.
It doesn't find the user's homedir and uses /tmp instead. Thus it never finds any sieve scripts.
The log shows that the SQL queries return the correct home path, namely /mnt/data/vmail/example.com/me
dovecot: auth: prefetch(me@example.com): passdb didn't return userdb entries, trying the next dovecot: auth: sql(me@example.com): SELECT CONCAT(homedir, "/", maildir) AS mail, CONCAT(homedir, "/", maildir) AS home, uid, gid FROM postfix_users WHERE email = 'me@example.com'
dovecot: auth: master out: USER 1 me@example.com
mail=/mnt/data/vmail/example.com/me/
home=/mnt/data/vmail/example.com/me/ uid=5000
gid=5000
dovecot: lda(me@example.com): Effective uid=5000, gid=5000,
home=/mnt/data/vmail/example.com/me/
dovecot: lda(me@example.com): Namespace: type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes
dovecot: lda(me@example.com): maildir++: root=/mnt/data/vmail/example.com/me, index=, control=, inbox=/mnt/data/vmail/example.com/me
However, the sieve plugin still uses /tmp instead of the home dir and fails:
dovecot: lda(me@example.com): fs: root=/tmp, index=, control=,
inbox=
dovecot: lda(me@example.com): Namespace : Permission lookup failed from
/tmp/Dovecot Delivery Mail
dovecot: lda(me@example.com): Namespace : Using permissions from /tmp:
mode=0777 gid=-1
dovecot: lda(me@example.com): Namespace : Permission lookup failed from
/tmp/Dovecot Delivery Mail
dovecot: lda(me@example.com): Namespace : Using permissions from /tmp:
mode=0777 gid=-1
dovecot: lda(me@example.com): sieve: user has no valid personal script
Any idea?
Cheers, Felix
# doveconf -n
# 2.0.beta4: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32.2-grsec x86_64 Gentoo Base System release 2.0.1 ext3
auth_debug = yes
auth_socket_path = /var/run/dovecot/auth-userdb
default_login_user = dovecot_auth
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = *
login_greeting = Mailserver ready.
mail_debug = yes
mail_gid = 5000
mail_location = maildir:/mnt/data/vmail/%d/%n
mail_uid = 5000
namespace {
inbox = yes
location =
prefix =
separator = .
type = private
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
sieve_global_dir = /etc/dovecot/sievescripts
}
postmaster_address = postmaster@example.com
protocols = imap pop3 managesieve
service auth {
unix_listener auth-master {
group = vmail
mode = 0660
}
unix_listener auth-userdb {
group = vmail
mode = 0660
}
}
service imap-login {
inet_listener imap {
port = 10143
}
inet_listener imaps {
port = 10943
ssl = yes
}
}
service imap {
process_limit = 3000
}
service managesieve-login {
inet_listener sieve {
port = 2000
}
}
service pop3-login {
inet_listener pop3 {
port = 0
}
inet_listener pop3s {
port = 10995
ssl = yes
}
}
shutdown_clients = no
ssl_cert =