Andreas Meyer wrote:
Ben Morrow <ben@morrow.me.uk> wrote:
mail_home = /var/spool/vhosts/%d/%n
ok, done that. I get this in Error: chdir(/var/spool/vhosts/xyz.de/archiv) failed: Not a directory Error: sieve: failed to stat sieve script: stat(/var/spool/vhosts/xyz.de/archiv/.dovecot.sieve) failed: Not a directory Error: sieve: failed to access user's sieve script ~/.dovecot.sieve (using default script location instead)
I guess, this is just normal for mboxes? archiv@xyz.de is a mbox, per bcc serviced by postfix.
Where is that user's home directory, then? (Where is its .dovecot.sieve?) That is the path that mail_home should be set to.
It's /var/spool/vhosts/xyz.de/archiv . It's one file, a mbox. There is no .dovecot.sieve. This mbox is flushed various times a day by a MUA. This user archiv is a virtual user and has no home directory, just a mbox.
Your mail_home needs to be a directory, not a file. mbox files should be located inside a subdirectory of your mail_home.