Am 06.06.25 um 19:03 schrieb John Fawcett via dovecot:

On 05/06/2025 22:12, BuzzSaw Code via dovecot wrote:
But for the life of me I can't find out how to test the configuration
file without having to actually update my dovecot configuration to use
it.  I'm looking for something like the Postfix 'postmap' tool that I
can provide my configuration file for the LDAP lookup, give a username
input to and it will show me the results from the configuration,
including the return values.

Hi

not sure if it will work for your use case, but have you looked into "doveadm auth test" command?

I know it requires a password but not sure what happens if you don't need one.

There is a -o setting that can override configurations from your existing config.

John

doveadm user <username>

Will output all user infomration without the need for a password.

Ralf

--
Ralf Becker
EGroupware GmbH [www.egroupware.org]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 631 31657-0

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to