On 16/07/2021 11:41 Stephane Magnier <steph.mag220@netcourrier.com> wrote:
Hi, Still looking for the way to create folders and sub folders.. Today, I am using "mbox", which apparently doesn't work for this ? correct ?
mbox has very limited support for folders.
So, I would probably need to use maildir.. ( https://doc.dovecot.org/configuration_manual/mail_location/Maildir/ ] Today, what I am using is :mbox,which is gather all the mailboxes of user 1, user 2 in one folder... like : mbox:/var/spool2/mail/%u
I suppose, that If I am using "mbox" with.. : LAYOUT=fs, I won't get these folders and subfolders ? - Correct ?
Instead of having : "maildir:~/Maildir " which, I suppose got eachuser folder into their own home directory .. correct ? Can I have : maildir:/var/spool2/mail/%u?
yes.
( I would prefer to gather all users' mailbox into one folder like /var/spool2/mail/ ) 3) if so, mbox:/var/spool2/mail/%u:INBOX=/var/spool/mail/%u => can become : maildir:/var/spool2/mail/%u:LAYOUT=fs:INBOX=/var/spool/mail/%u
yes. And while you're doing this, you might as well start using lda or lmtp and drop the INBOX parameter. There is no need to keep INBOX in /var/spool/mail/%u unless your users expect direct access?
What do you think ?... before trying and breaking everything :-)... if so, I will be killed
Thanks and regards
Aki