Hello everybody,
I set up a FreeBSD 11.4 system with postfix 3.5.7.1, dovecot 2.3.11.3, dovecot-pigeonhole 0.5.11 and roundcube-php74-1.4.9,1 working with virtual users.
All works as expected, with one exception: problems with server-side sieve filters.
The error log shows up:
According to several sources on the WWW, that sieve-error message depends on the fact that the HOME directory is used as the MAILDIR directory.
Since this is a freshly set up system, I still have the possibility to configure the whole thing from the beginning in a way that the described problem is no longer caused by using the HOME directory as MAILDIR directory.
My question is:
In my 10-mail.conf for Dovecot2 currently you find:
main.cf (postfix):
Can anyone tell me which modifications I have to make in 10-mail.conf and main.cf to fulfill following recommendations from https://wiki2.dovecot.org/VirtualUsers/Home:
Many greetings
sidney2017
I set up a FreeBSD 11.4 system with postfix 3.5.7.1, dovecot 2.3.11.3, dovecot-pigeonhole 0.5.11 and roundcube-php74-1.4.9,1 working with virtual users.
All works as expected, with one exception: problems with server-side sieve filters.
The error log shows up:
imap(user@domain.tld)<51952><PWnZSdWwA71/AAAB>: Error: stat(/var/mail/vhosts/ user@domain.tld /user/.dovecot.sieve/tmp) failed: Not a directory
According to several sources on the WWW, that sieve-error message depends on the fact that the HOME directory is used as the MAILDIR directory.
Since this is a freshly set up system, I still have the possibility to configure the whole thing from the beginning in a way that the described problem is no longer caused by using the HOME directory as MAILDIR directory.
My question is:
In my 10-mail.conf for Dovecot2 currently you find:
Code:
mail_home = /var/mail/vhosts/%d/%n
mail_location = maildir:~
main.cf (postfix):
Code:
home_mailbox = Maildir/
virtual_mailbox_base = /var/mail/vhosts
Can anyone tell me which modifications I have to make in 10-mail.conf and main.cf to fulfill following recommendations from https://wiki2.dovecot.org/VirtualUsers/Home:
Home vs. mail directory
Home directory shouldn't be the same as mail directory with mbox or Maildir formats (but with dbox/obox it's fine). It's possible to do that, but you might run into trouble with it sooner or later.
Many greetings
sidney2017