> On 22/09/2025 03:52 EEST Laura Steynes via dovecot <dovecot@dovecot.org> > wrote: > > > We have two main mail server system, our broadband users on one, and, our > hosting clients on another, because of the large number of customers on > both, we use the following formats, I am looking at adding one dovecot 2.4 > front end to the farm to see how it will perform, but with a such a > complete rewrite requiring variable entry like we are all C programmers who > understand code, which we are not and do not, I'm having headaches getting > my head around how to convert these to this new weird format > > Broadband Users: jciti...@example.net = /vmail/example.net/j/c/i/jcitizen > mail_location = maildir:/vmail/%Ld/%1Ln/%1.1Ln/%2.1Ln/%Ln/Maildir > > > > Hosting Clients: jciti...@example.net = /vmail/e/x/a/example.net/jcitizen > mail_location = maildir:/vmail/%1Ld/%1.1Ld/%2.1Ld/%Ld/%Ln/Maildir > > Any help appreciated, we have no intentions of moving from 2.3.x in any > foreseeable future, but if the time comes we must, we want to be able to > have a plan to enact. > > -Loz > We have two main mail server system, our broadband users on one, and, our > hosting clients on another, because of the large number of customers on > both, we use the following formats, I am looking at adding one dovecot 2.4 > front end to the farm to see how it will perform, but with a such a > complete rewrite requiring variable entry like we are all C programmers > who understand code, which we are not and do not, I'm having headaches > getting my head around how to convert these to this new weird format > > Broadband Users: [1]jciti...@example.net = > /vmail/[2]example.net/j/c/i/jcitizen > mail_location = maildir:/vmail/%Ld/%1Ln/%1.1Ln/%2.1Ln/%Ln/Maildir > > > > > Hosting Clients: [3]jciti...@example.net = > /vmail/e/x/a/[4]example.net/jcitizen > mail_location = maildir:/vmail/%1Ld/%1.1Ld/%2.1Ld/%Ld/%Ln/Maildir > Any help appreciated, we have no intentions of moving from 2.3.x in any > foreseeable future, but if the time comes we must, we want to be able to > have a plan to enact. > -Loz >
/vmail/%1Ld/%1.1Ld/%2.1Ld/%Ld/%Ln/Maildir => /vmail/%{domain|substr(1,1)}/%{domain|substr(2,1)}/.. etc. See https://doc.dovecot.org/2.4.1/installation/upgrade/2.3-to-2.4.html#variable-expansion Aki _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org