Hello! dovecot version 2.1.7 I set up vacation with sieve. We have mboxes and maildirs and in dovecot.conf mail_location = mbox:/var/spool/vhosts/%d/dovecotprivate/%n:INBOX=/var/spool/vhosts/%d/%n Error: User archiv at xyz.de doesn't have home dir set, disabling duplicate database Dec 19 20:37:03 lda(archiv at xyz.de): Error: sieve: sieve script file path ~/.dovecot.sieve is relative to home directory, but home directory is not available. Dec 19 20:37:03 lda(archiv at xyz.de): Error: sieve: failed to access user's sieve script ~/.dovecot.sieve (using default script location instead) 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 The .dovecot.sieve script of the user seems to be found, a vacation response is sent and the email is stored mail into mailbox 'INBOX' What is wrong? Andreas
At 8PM +0100 on 19/12/12 you (Andreas Meyer) wrote:> > I set up vacation with sieve. We have mboxes and maildirs and in dovecot.conf > mail_location > mbox:/var/spool/vhosts/%d/dovecotprivate/%n:INBOX=/var/spool/vhosts/%d/%n > > Error: User archiv at xyz.de doesn't have home dir set, disabling > duplicate database > Dec 19 20:37:03 lda(archiv at xyz.de): Error: sieve: sieve script file > path ~/.dovecot.sieve is relative to home directory, but home > directory is not available. > Dec 19 20:37:03 lda(archiv at xyz.de): Error: sieve: failed to access > user's sieve script ~/.dovecot.sieve (using default script location > instead) > > 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/archivmail_home should be set to the path to a directory, not a mailbox location. You want just mail_home = /var/spool/vhosts/%d/%n Dovecot is interpreting the initial 'mbox:' part as the start of a relative path. Ben