[Dovecot] setting mail_home and vacation

Daniel Parthey daniel.parthey at informatik.tu-chemnitz.de
Thu Dec 20 02:54:16 EET 2012


Andreas Meyer wrote:
> Ben Morrow <ben at 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 at 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.

Regards
Daniel
-- 
https://plus.google.com/103021802792276734820



More information about the dovecot mailing list