[Dovecot] setting mail_home and vacation

Ben Morrow ben at morrow.me.uk
Thu Dec 20 01:18:51 EET 2012


At 11PM +0100 on 19/12/12 you (Andreas Meyer) wrote:
> Ben Morrow <ben at morrow.me.uk> wrote:
> 
> > > When I set
> > > mail_home = mbox:/var/spool/vhosts/%d/%n:INBOX=/var/spool/vhosts/%d/%n
> > > 
> > > I get this for mboxes in the log: 
> > > Error: user archiv at xyz.de: Relative home directory paths not
> > > supported:
> > > mbox:/var/spool/vhosts/xyz.de/archiv:INBOX=/var/spool/vhosts/xyz.de/archiv
> > 
> > mail_home should be set to the path to a directory, not a mailbox
> > location. You want just
> > 
> >     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.

Ben




More information about the dovecot mailing list