Re: missing +w perm

2021-05-28 Thread Jeff Abrahamson
On 28/05/2021 06:43, Aki Tuomi wrote: >> On 27/05/2021 22:24 Jeff Abrahamson wrote: >> >> >> I've started seeing the following error in mail.err for precisely one user >> on precisely one domain: >> >>> Error: mkdir(/var/mail/vmail//jeff/mail) failed: Permission denied >>> (euid=1000(jeff) egid=

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

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: mail-crypt-plugin: encrypted user keys

2021-05-28 Thread Aki Tuomi
Hi! This is because you do not have private password set during delivery. To use this feature like this you need to make sure the user keys are generated using doveadm mail cryptokey generate -u user -U before delivery. Aki > On 28/05/2021 12:54 Daniel Schuermann wrote: > > > Hi, > > I tr

Re: NFS Locking Question

2021-05-28 Thread James
On 25/05/2021 16:46, Zane Zak wrote: We have a single exim server that delivers mail to mbox files in /var/mail. We have a separate server running dovecot that reads mail from these mbox files. ... Is there a configuration change that needs to be made on the dovecot I don't know about the NF

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: Mailbox problem on centos O/S after some "fiddling"

2021-05-28 Thread Aki Tuomi
> On 19/01/2017 21:47 John Richards wrote: > > > Good day from Somerset, England > > Version 2.2.10 > > Problem after a huge centos update > > Data:- Server has 8 mailboxes under /var/mail/"user name" > > history:- After update, mail to ONE user was going into mqueue as > undeliverable

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: replicator: Panic: data stack: Out of memory when allocating ...

2021-05-28 Thread Aki Tuomi
> On 28/05/2021 13:54 Jörg Faudin Schulz wrote: > > > frequently, the replicator fails on allocating memory: > > replicator: Panic: data stack: Out of memory when allocating ... bytes. > > I already have increased default_vsz_limit=1024M but this only increased > the ... value. > > What c

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: replicator: Panic: data stack: Out of memory when allocating ...

2021-05-28 Thread Aki Tuomi
Can you install dovecot-dbg, acquire a core and send us gdb bt full output? See https://www.dovecot.org/bugreport-mail for instructions Aki > On 28/05/2021 14:35 Jörg Faudin Schulz wrote: > > > Hmmm, > > Panic: data stack: Out of memory when allocating 17179869224 bytes > imap  

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 mail_loca

mail-crypt-plugin: encrypted user keys

2021-05-28 Thread Daniel Schuermann
Hi, I tried to enable encrypted folder keys using mail-crypt-plugin. It works as expected when using unencrypted folder keys. When I add mail_crypt_require_encrypted_user_key = yes as shown below, I somehow manage to crash dovecot: dovecot: lmtp(82060): Fatal: master: service(lmtp): child

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

replicator: Panic: data stack: Out of memory when allocating ...

2021-05-28 Thread Jörg Faudin Schulz
frequently, the replicator fails on allocating memory: replicator: Panic: data stack: Out of memory when allocating ... bytes. I already have increased default_vsz_limit=1024M but this only increased the ... value. What can be done here? dovecot_branch=release-2.3.14

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 shou

Re: replicator: Panic: data stack: Out of memory when allocating ...

2021-05-28 Thread Jörg Faudin Schulz
Hmmm, Panic: data stack: Out of memory when allocating 17179869224 bytes imap    | May 28 13:26:02 replicator: Fatal: master: service(replicator): child 104 killed with signal 6 (core dumped) that's a lot of memory. Yes, the mailbox in question isn't small, but does it need to ge

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