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. I am using this construction to select a different pam file. It is a
Op 26-10-2023 om 09:50 schreef Philippe MARASSE via dovecot: little bit different from your situation but could work if pam can handle the authentication request types you mention above.
passdb { # if local_name == external dns-name: provide pam login with password (mainly for external users) # else: provide pam login with kerberos if no ticket was passed (for local users only)
args = %{if;%{local_name};eq;external.mydomain.com;dovecot_passwd;dovecot_krb5} driver = pam }
- Kees.
Regards.
Philippe MARASSE
Responsable pôle Infrastructures - DSIO Centre Hospitalier Henri Laborit CS 10587 - 370 avenue Jacques Cœur 86021 Poitiers Cedex Tel : 05.49.44.57.19
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org