Re: Directors and LMTP: mailAlternateAddress of same user

2020-10-25 Thread Vincent Brillault
Dear Ioannis, > I've searched around for a solution to this, and figured out that a special > userdb {} section in the protocol lmtp {} section, with driver = ldap etc etc > so that i 'd be able to "show" the correct user to the lmtp might work, but > strangely that userdb {} setting looks like be

Support TLS for pure remote doveadm commands

2020-11-11 Thread Vincent Brillault
Dear all, A lot of doveadm commands (e.g. backup/sync, deduplicate, mailbox) support a `-S` (a.k.a `socket-path`) argument that allows to run the command remotely. Unfortunately, I think that there is a bug in the handling of the TLS configuration for this feature. After a bit of debugging, I thi

Shared Mailboxes in Dovecot Cluster & director configuration

2021-06-08 Thread Vincent Brillault
93): Authenticating as X for user user1 [...] ${backend} dovecot: imap(user2)<31073>: Debug: imapc(${director}:993): Authenticating as Xuser2 for user user1 ``` It looks to me that for the first connection, imapc_master_user is resolved with the wrong context, without `userdb:sharing_user`

Re: Shared Mailboxes in Dovecot Cluster & director configuration

2021-06-10 Thread Vincent Brillault
Hi Markus, > It works better if the backend userdb or passdb sets > imapc_master_user=%{user} or userdb_imapc_master_user=%{user}. This works much better indeed, thanks! > The documentation will be updated soon. There will be also some > example configuration snippets to make it easier to config

Re: sieve not updating headers?

2021-06-11 Thread Vincent Brillault
Hi! > It then falls through my personal sieve filter and hits the implicit > keep at the end and ends up in my inbox - with the original headers. I had a similar issue recently (with addheader, not deleteheader) and I was pointed to the RFC: https://datatracker.ietf.org/doc/html/rfc5293#section-5

Re: oauth2

2021-06-24 Thread Vincent Brillault
Hi! > I would like to try the oauth2 mechanism to autenticate my users. > > [...] > > My Thunderbird client [...] Not a Thunderbird/Dovecot expert here, so only talking about my experience. We have a setup here with Dovecot supporting OAUTHBEARER & XOAUTH2 to allow our web-based interface (Open-

Re: oauth2

2021-06-24 Thread Vincent Brillault
Hi Andrea, > Do you know if the same applies also to other clients like Apple Mail > and Outlook 20xx? Sorry, I have not looked into it so I can't answer this. What I don't understand really in the way OAUTHBEARER or XOAUTH2 works with IMAP is how the client is supposed to know where to obtain a t

acl_ignore_namespace & dovecot-acl-list files

2021-06-29 Thread Vincent Brillault
Hi! After updating to 2.3.15, I was hoping to be able to get rid of some of the work-around I had in place when configuring shared folders in cluster mode in 2.3.14. Unfortunately it seems that I still need one. Running on CentOS7 with both a 'virtual' and 'shared' namespace, whenever I update th

Re: oauth2

2021-06-30 Thread Vincent Brillault
Hi Andrea, all > I simply put in a file /etc/dovecot/keys/webmail/RS256/ the > value of the public key found on the keycloak console. > > Which is the correct format of that file? It's json. I had the same question initially, had to check the code. I obtain that file from https://${keycloak}/aut

Dovecot - FTS Solr: disk usage & position information?

2021-08-04 Thread Vincent Brillault
or the text fields in the Solr Schema? It sounds that this could improve a lot the disk space used by Solr without losing any feature. The only thing I'm not too clear about is the "autoGeneratePhraseQueries" which is enabled in https://github.com/dovecot/core/blob/master/doc/solr-

Re: Dovecot - FTS Solr: disk usage & position information?

2021-08-05 Thread Vincent Brillault
Dear Shawn, Thanks for your very complete answer! > This is completely off-topic for the dovecot list.  I am involved with > the Solr project, so I can discuss it.  My message will also be off > topic here. Sorry, maybe I didn't explain myself properly. I asked on the dovecot mailing list as I'm

Re: Dovecot - FTS Solr: disk usage & position information?

2021-09-01 Thread Vincent Brillault
Dear all, Just a status update, in case this can help others. We went forward and disabled the position information indexing and the re-indexed of our mail data (over a couple of days to avoid overloading the systems). Before the re-indexing we had 1.33 TiB in our Solr Indexes. After re-index

Re: Dovecot - FTS Solr: disk usage & position information?

2021-09-05 Thread Vincent Brillault
Hi Alessio, this optimization also produce a less RAM requirements on Solr server? Unfortunately we didn't measure this before/after the change. Since we are removing features (position information), I wouldn't expect the memory requirement to increase, but I'm no expert. To be honest, I'v