dovecot configuration question userdb driver

2024-12-16 Thread Stanislav via dovecot
Greetings, I have a mail server for a few folks, basically my family. My current Dovecot configuration is the following, which works like a charm: == passdb { driver = sql args = /usr/local/etc/dovecot/dovecot-sql.conf.ext } userdb { driver = static args = uid=981 gid=981 home=/v

Re: dovecot configuration question userdb driver

2024-12-16 Thread Aki Tuomi via dovecot
> On 16/12/2024 22:07 EET Stanislav via dovecot wrote: > > > Greetings, > I have a mail server for a few folks, basically my family. > My current Dovecot configuration is the following, which works like a > charm: > == > passdb { >driver = sql >args = /usr/local/etc/dovecot/d

Re: dovecot configuration question userdb driver

2024-12-16 Thread Stanislav via dovecot
You could get rid of the static userdb with these settings mail_uid = 981 mail_gid = 981 mail_home = /var/mail/virtual/%d/%n/home and ensure you have iterate_query in your SQL config. Should do the trick. Thanks, Aki! I added those properties and also commented out the following line: user_q

Re: dovecot configuration question userdb driver

2024-12-16 Thread Aki Tuomi via dovecot
> On 17/12/2024 05:52 EET Stanislav via dovecot wrote: > > > > You could get rid of the static userdb with these settings > > > > mail_uid = 981 > > mail_gid = 981 > > mail_home = /var/mail/virtual/%d/%n/home > > > > and ensure you have iterate_query in your SQL config. > > > > Should do th