[Dovecot] setting mail_home and vacation

Andreas Meyer anmeyer at anup.de
Thu Dec 20 00:02:02 EET 2012


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.

> Dovecot is interpreting the initial 'mbox:' part as the start of a
> relative path.

Interessting, thank you!

> 
> Ben

  Andreas



More information about the dovecot mailing list