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 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

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

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: [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: [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

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: 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

two different mail_location

2021-10-06 Thread Gabx
Hi everybody, my mail system has all users in usual path ~ . Only one user is in /var/%u . This user doesn't receive emails. I guess it is because its $HOME is on a different path than the one specified in dovecot mail_location which is: > mail_location = maildir:~/%u/Maildir What's the bes

Re: two different mail_location

2021-10-08 Thread Gabx
On 10/6/21 10:11 AM, Aki Tuomi wrote: Return `mail=maildir:/var/%u` from auth. See https://doc.dovecot.org/configuration_manual/authentication/user_databases_userdb/ Aki My problem is i server can't stop running for mistakes. We are talking abouth etc/dovecot/conf.d/auth-* files where i s

Re: two different mail_location

2021-10-12 Thread Gabx
On 10/8/21 9:13 PM, Gabx wrote: On 10/6/21 10:11 AM, Aki Tuomi wrote: Return `mail=maildir:/var/%u` from auth. See https://doc.dovecot.org/configuration_manual/authentication/user_databases_userdb/ Aki Users on my mail mystem are system users. Their credentials, username, x (etc