sieve permission problem with dovecot.svbin
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 =
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 21 May 2015, Cliff Hayes wrote:
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.
Post the output of:
ls -ald /var/spool/mail/dwright /var/spool/mail /var/spool
/var/spool/mail/dwright/.dovecot.svbin
Do you have SELinux enabled? http://wiki2.dovecot.org/WhyDoesItNotWork?highlight=%28selinux%29
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVV7Wunz1H7kL/d9rAQLVVAgAi9Jml2IPT6TuSpqzmY3sviQx4cwPdjXS qEmNCyAUX90FGJ1AITTYJFwDJaQ2qaRchejAxaVW8jjlY0JvM5Ge6WbxMUN36JQx hE4/342NNaLi5ZWPW0KeP7FV+xBI8w5wLSWaa8gcoyTA1W03MAB+729UDhPbPFxl 4cFCGepTu8ROMhnwVHxstj/VNPjjsu+i2N7jG9zOEqdXwThI8dEdbbZKSwf/efI+ 9owGbQsGWHVZikloRQ/isZUiQ73nNTHxY1FHabIrhkJTc+Yd+lKCjabQaAN6nTfp nyTN+sPt+qNvOtzmlXYYFeg4m8evQrz7f6Akyk+RCx00zckFh044Dw== =+e+C -----END PGP SIGNATURE-----
participants (2)
-
Cliff Hayes
-
Steffen Kaiser