Re: Different Maildir Locations

2021-05-28 Thread Gabx
On 5/28/21 4:30 PM, Eirik Rye wrote: /etc/dovecot/dovecot.conf: userdb { driver = passwd result_success = continue-ok } userdb { driver = passwd-file args = /etc/dovecot/override.passwd } This means that user information will first be looked up through the passwd driver (/etc/pas

Re: Different Maildir Locations

2021-05-28 Thread Gabx
On 5/28/21 1:24 PM, Aki Tuomi wrote: Then there is something wrong with your config, can you send `doveconf -n` and output of `doveadm user user2`? doveconf -n: https://cryptpad.fr/pad/#/2/pad/edit/UjvNTPoEmNDBFm8dmzzp67YM/ And this is doveadm user user2 field value uid 1003 gid

Re: [EXT] Re: Different Maildir Locations

2021-05-28 Thread Gabx
On 5/28/21 12:56 PM, Gabx wrote: On 5/28/21 12:49 PM, Aki Tuomi wrote: auth_debug=yes Dovecot still sees the main(default) mail_location: ~/Maildir dovecot: lmtp(13181, user2): Debug: maildir++: root=/home/user2/Maildir, index=, indexpvt=, control=, inbox=/home/user2/Maildir When it shou

Re: [EXT] Re: Different Maildir Locations

2021-05-28 Thread Gabx
On 5/28/21 12:49 PM, Aki Tuomi wrote: auth_debug=yes That's what i wrote in the TXT file /etc/dovecot/override.passwd gabriel1: mail=~/Maildir user1: mail=~/user1/Maildir user2: mail=~/user2/mail Order and other parameters for the userdb's do matter, you might have to set, in previous us

Re: Different Maildir Locations

2021-05-28 Thread Gabx
On 5/28/21 12:13 PM, Aki Tuomi wrote: /etc/dovecot/override.passwd user1:*:::mail=~/user1/mail user2:*:::mail=~/user2/mail Aki How can i observe this process and debug this process ? I have set mail_debug = yes Gab -- GPG fingerprint: 5A6A F742 ACEA C9A7 93A8 8D5E 7AEF 5A02 D080 89F

Re: Different Maildir Locations

2021-05-28 Thread Eirik Rye
> On 28 May 2021, at 16:30, Eirik Rye wrote: > > With that said, the override file you created is also invalid. It should be > something like this: > > /etc/dovecot/override.passwd: > > gabriel1:*::mail=~/Maildir > user1:*::mail=~/user1/Maildir > user2:*::mail=~/user2/mail Sorr

Re: Different Maildir Locations

2021-05-28 Thread Eirik Rye
> On 28 May 2021, at 14:34, Gabx wrote: > > doveconf -n: > > https://cryptpad.fr/pad/#/2/pad/edit/UjvNTPoEmNDBFm8dmzzp67YM/ Your configuration has no userdb referencing /etc/dovecot/passwd.override, so of course it is not taken into account. I implore you to read up on how userdbs function

Re: Different Maildir Locations

2021-05-28 Thread Gabx
On 5/28/21 11:51 AM, Aki Tuomi wrote: On 28/05/2021 12:39 Gabx wrote: On 5/28/21 11:24 AM, Aki Tuomi wrote: On 28/05/2021 12:21 Gabx wrote: Hi, on my vps (debian stable) I have an email system with postfix, dovecot, virtual users and domains. I have 3 users with different mail_lo

Re: Different Maildir Locations

2021-05-28 Thread Gabx
On 5/28/21 11:24 AM, Aki Tuomi wrote: On 28/05/2021 12:21 Gabx wrote: Hi, on my vps (debian stable) I have an email system with postfix, dovecot, virtual users and domains. I have 3 users with different mail_locations. the first mail_location = maildir: ~ / Maildir the second mail_loca

Different Maildir Locations

2021-05-28 Thread Gabx
Hi, on my vps (debian stable) I have an email system with postfix, dovecot, virtual users and domains. I have 3 users with different mail_locations. the first mail_location = maildir: ~ / Maildir the second mail_location = maildir: ~ / user1 / Maildir the third mail_location = maildir: ~ / user

Re: Different Maildir Locations

2021-05-28 Thread Aki Tuomi
> On 28/05/2021 14:17 Gabx wrote: > > > On 5/28/21 12:56 PM, Gabx wrote: > > On 5/28/21 12:49 PM, Aki Tuomi wrote: > > > >> auth_debug=yes > >> > > Dovecot still sees the main(default) mail_location: ~/Maildir > > dovecot: lmtp(13181, user2): Debug: maildir++: root=/home/user2/Maildir, >

Re: [EXT] Re: Different Maildir Locations

2021-05-28 Thread Aki Tuomi
> On 28/05/2021 13:47 Gabx wrote: > > > On 5/28/21 12:13 PM, Aki Tuomi wrote: > > > /etc/dovecot/override.passwd > > > > user1:*:::mail=~/user1/mail > > user2:*:::mail=~/user2/mail > > > > Aki > > > How can i observe this process and debug this process ? > I have set mail_debug =

Re: Different Maildir Locations

2021-05-28 Thread Aki Tuomi
> On 28/05/2021 13:10 Gabx wrote: > > > On 5/28/21 11:51 AM, Aki Tuomi wrote: > > > >> On 28/05/2021 12:39 Gabx wrote: > >> > >> > >> On 5/28/21 11:24 AM, Aki Tuomi wrote: > >>> > On 28/05/2021 12:21 Gabx wrote: > > > Hi, > on my vps (debian stable) I have a

Re: Different Maildir Locations

2021-05-28 Thread Aki Tuomi
> On 28/05/2021 12:39 Gabx wrote: > > > On 5/28/21 11:24 AM, Aki Tuomi wrote: > > > >> On 28/05/2021 12:21 Gabx wrote: > >> > >> > >> Hi, > >> on my vps (debian stable) I have an email system with postfix, dovecot, > >> virtual users and domains. > >> I have 3 users with different mail_l

Re: Different Maildir Locations

2021-05-28 Thread Aki Tuomi
> On 28/05/2021 12:21 Gabx wrote: > > > Hi, > on my vps (debian stable) I have an email system with postfix, dovecot, > virtual users and domains. > I have 3 users with different mail_locations. > > the first mail_location = maildir: ~ / Maildir > the second mail_location = maildir: ~ / use