doveadm-auth (1) - Linux Man Pages
doveadm-auth: Test authentication for a user
NAMEdoveadm-auth - Test authentication for a user
SYNOPSISdoveadm [-Dv] auth [-a auth_socket_path] [-x auth_info] user [password]
DESCRIPTIONThe auth command can be used to test the authentication for the given user.
OPTIONSGlobal doveadm(1) options:
- Enables verbosity and debug messages.
- Enables verbosity, including progress counter.
Command specific options:
This option is used to specify an absolute path to an alternative UNIX
By default doveadm(1) will use the socket /var/run/dovecot/auth-client. The socket may be located in another directory, when the default base_dir setting was overridden in /etc/dovecot/dovecot.conf.
specifies additional conditions for the
option string has to be given as
For multiple conditions the
option could be supplied multiple times.
Possible names for the auth_info are:
The service for which the authentication lookup should be tested.
The value may be the name of a service, commonly used with Dovecot.
- The local IP address (server) for the test.
- The remote IP address (client) for the test.
- The local port, e.g. 143
- The remote port, e.g. 24567
- The user's login name. Depending on the configuration, the login name may be for example jane or john [at] example.com.
- Optionally the user's password. doveadm(1) will prompt for the password, if none was given.
EXAMPLEThis example demonstrates an imap authentication test for user john, assuming the user is connected from the host with the IP address 192.0.2.143.
doveadm auth -x service=imap -x rip=192.0.2.143 john johns_password passdb: john auth succeeded extra fields: user=john