sieve permission problem with dovecot.svbin

Cliff Hayes chayes at afo.net
Thu May 21 14:29:50 UTC 2015


Hello list,

I am starting to see these in maillog:

dovecot: lmtp(31949, dwright): Error: kXK3KnTpXFXNfAAAU+Cu/Q: sieve: 
binary open: failed to open: 
open(/var/spool/mail/dwright/.dovecot.svbin) failed: Permission denied 
(euid=520(dwright) egid=12(mail) missing +r perm: 
/var/spool/mail/dwright/.dovecot.svbin, euid is not dir owner)

But the directory /var/spool/mail/dwright is owned by dwright:mail with 
permission set to 700.

How do I fix?

Here is my config:

# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-431.29.2.el6.x86_64 x86_64 Scientific Linux release 
6.5 (Carbon)
auth_failure_delay = 5 secs
auth_username_format = %Ln
auth_verbose_passwords = plain
mail_access_groups = mail
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
mbox_write_locks = fcntl
passdb {
   driver = pam
}
plugin {
   quota = maildir:User quota
   quota_rule = *:storage=1G
   quota_rule2 = Trash:storage=+100M
   sieve = ~/.dovecot.sieve
   sieve_after = /dovecotSieveAfter/
   sieve_dir = ~/sieve
}
protocols = imap lmtp sieve
service managesieve-login {
   inet_listener sieve {
     port = 4190
   }
}
ssl_ca = </etc/pki/dovecot/certs/intermediate20150202.crt
ssl_cert = </etc/pki/dovecot/certs/avalon20150202.crt
ssl_key = </etc/pki/dovecot/private/avalon20150129.key
ssl_verify_client_cert = yes
userdb {
   args = /etc/dovecot/passwd
   driver = passwd-file
}
protocol lmtp {
   log_path = /var/log/dovecot-lmtp.log
   mail_plugins = " quota sieve"
}
protocol lda {
   log_path = /var/log/dovecot-lda.log
   mail_plugins = " quota sieve"
}
protocol imap {
   mail_plugins = " quota imap_quota"
}


More information about the dovecot mailing list