Hello I am running Dovecot 2.3.9 for IMAP access with RainLoop webmail and have noticed for an account where I have some filters setup that I get the following error messages in the dovecot log file: Mar 17 19:02:50 mbox dovecot: imap(mail at domain.tld)<10511><ubAzvhCh1N2yxeu/>: Error: stat(/var/vmail/domain.tld/mail/.dovecot.sieve/tmp) failed: Not a directory Mar 17 19:02:50 mbox dovecot: imap(mail at domain.tld)<10511><ubAzvhCh1N2yxeu/>: Error: stat(/var/vmail/domain.tld/mail/.dovecot.sieve.log/tmp) failed: Not a directory This happens when I access the Dovecot mailbox server using an iphone. Also on the iphone I see these "mail" folders but they are not really mail folders... With Thunderbird as mail client it looks all good and I don't get this error. Is this normal? if not, how can I prevent this issue? Regards, Mabi
> On 19/03/2020 10:10 mabi <mabi at protonmail.ch> wrote: > > > Hello > > I am running Dovecot 2.3.9 for IMAP access with RainLoop webmail and have noticed for an account where I have some filters setup that I get the following error messages in the dovecot log file: > > Mar 17 19:02:50 mbox dovecot: imap(mail at domain.tld)<10511><ubAzvhCh1N2yxeu/>: Error: stat(/var/vmail/domain.tld/mail/.dovecot.sieve/tmp) failed: Not a directory > Mar 17 19:02:50 mbox dovecot: imap(mail at domain.tld)<10511><ubAzvhCh1N2yxeu/>: Error: stat(/var/vmail/domain.tld/mail/.dovecot.sieve.log/tmp) failed: Not a directory > > > This happens when I access the Dovecot mailbox server using an iphone. Also on the iphone I see these "mail" folders but they are not really mail folders... With Thunderbird as mail client it looks all good and I don't get this error. > > Is this normal? if not, how can I prevent this issue? > > Regards, > MabiThis is usually prevented by not configuring mail_home and mail_location to same directory: mail_home=/var/vmail/%Ld/%Lu/ mail_location=maildir:~/mail or something similar. Aki
??????? Original Message ??????? On Thursday, March 19, 2020 9:13 AM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:> This is usually prevented by not configuring mail_home and mail_location to same directory: > > mail_home=/var/vmail/%Ld/%Lu/ > mail_location=maildir:~/mailThanks for the tip. This means that if I now configure "mail_location=maildir:~/mail", I will need to move all mail folders ("." dot directories) including "new,cur,tmp" for the INBOX into the ~/mail direcotry of the specific user on the file system of the server? Do I also need to move all the following files into ~/mail too? - dovecot.* - dovecot-* - maildirsize - subscriptions