Managesieve and virtual users

Steffen Kaiser skdovecot at inf.h-brs.de
Thu Jan 11 13:32:00 EET 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 11 Jan 2018, CP wrote:

> I'm trying to setup sieve on a Debian 9 install with virtual users.
> Perhaps I'm getting old, but I can't figure out why managesieve is
> not working for virtual users. I have about 20 v users on this machine
> and only one has also a real unix account. The sieve rules work for this
> single unix account  but not for any other account.

Hmm, your conf contains just one passdb and one userbd:

mail_location = maildir:/home/vmail/%d/%n/Maildir

sieve = 
file:/home/vmail/%d/%n/sieve;active=/home/vmail/%d/%n/.dovecot.sieve

userdb {
   args = uid=vmail gid=vmail home=/home/vmail/%d/%n/Maildir
   driver = static
}

So, how does the real user authentificate?

Second, you've violated:
https://wiki2.dovecot.org/VirtualUsers/Home?highlight=%28home%29|%28mail%29

make home and mail_location distinct. I guess, above should read:
home=/home/vmail/%d/%n/

You've wrote "managesieve" is not working. That means, sieve is working?
So, has vmail write permission to : /home/vmail/%d/%n/sieve is it a 
directory? Does your users log into managesieve with domain, too?

> but nothing is working for my case, so something is wrong in my setup and I
> hope you guys might shed some light .
> The setup is rather simple it's 20 v users with one public folder , I have 
> tried both
> dovecot lda and lmtp .
>
> doveconf -n  included
>
> Thanks in advance for any help
>

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBWldLMMQnQQNheMxiAQLwjAf/enwWoeT5Phx1zuFPh3L0Cn2xemt+nJZU
N1z0N6bkICBJKty7L8t/KNnA0a3L7suFKw3lCuQnP3O1FS6O9Kb8dtdynZgjkBeI
xjdtVMjK1qtNmwdEtWfZ1LwAuPeMe/qNDDMBpsyqPAPN6RwMrFsEwvoGgq+PdVVX
1XQsQkSpJqjv2mzZfHRqS4c7vrUR/6l54+PY6NT8MEGtX4tZs/z7TVd0Oh75yTKn
SpQT7cW/4Xmt06k4ddfB+WjR5MMaEtrc14Zr7RGCIuAyyaS3c/j9xCTYm/nRben8
GykXJS8VYY2xHT2Eq7q397EZKjtMISv07qunLaZjONAsIxMt6T6dBA==
=I8QQ
-----END PGP SIGNATURE-----


More information about the dovecot mailing list