Re: {ldap:objectGUID} returns binary data when used for user_attrs

2023-10-26 Thread Andreas Haerter
Hi, just a small update on the {ldap:*} variable expansion an the objectGUID binary attribute from Active Directory: Dovecot is using OpenLDAP (e.g have a look at https://github.com/dovecot/core/blob/main/src/lib-ldap/ldap-search.c). However, I was not able to find a syntax to retrieve a str

Re: Correct sizing of CPU and RAM

2023-10-26 Thread Michael Peddemors
On 2023-10-26 05:07, DeJa Wu wrote: How to correctly calculate the number of CPUs and memory required for 1000 client mailboxes and beyond? Given that 30-50% of users will be constantly connected via IMAP. I looked for information and did not find any sizing in the documentation anywhere. Is ther

Correct sizing of CPU and RAM

2023-10-26 Thread DeJa Wu
How to correctly calculate the number of CPUs and memory required for 1000 client mailboxes and beyond? Given that 30-50% of users will be constantly connected via IMAP. I looked for information and did not find any sizing in the documentation anywhere. Is there a way to calculate my required resou

Re: OAUTH2 tokeninfo is doing a GET instead of a POST request

2023-10-26 Thread Alexander Leidinger via dovecot
Am 2023-10-25 20:54, schrieb Aki Tuomi: Seems your issue is oauth2(email,IP,): oauth2 failed: Local validation failed: client_id not found in aud field This is a recently added thing, as oauth2 spec requires to check this. If you are using local validation, you can opt to leave client_id emp

Re: Is it possible to show different mechanism according to client IP ?

2023-10-26 Thread Kees van Vloten
Op 26-10-2023 om 09:50 schreef Philippe MARASSE via dovecot: Hello, Say I'm wondering if it's possible to show 3 mechanisms for clients in private network (XOAUTH2 / PLAIN / EXTERNAL) and only 2 to others (only OAUTH / EXTERNAL) ? I've seen allow_nets extra field for args, but it seems that's

Is it possible to show different mechanism according to client IP ?

2023-10-26 Thread Philippe MARASSE via dovecot
Hello, Say I'm wondering if it's possible to show 3 mechanisms for clients in private network (XOAUTH2 / PLAIN / EXTERNAL) and only 2 to others (only OAUTH / EXTERNAL) ? I've seen allow_nets extra field for args, but it seems that's not working with ldap passdb. Regards. -- Philippe MARASSE Res