Skip to content

Instantly share code, notes, and snippets.

@stefanschmidt
Last active May 13, 2021
Embed
What would you like to do?
Dovecot command collection
# reload configuration
doveadm reload
# restart
service dovecot restart
# test authentication
doveadm auth test user@domain.com
# test login with passdb and userdb lookup
doveadm auth login user@domain.com
# show value of setting
doveconf some_option_name
# show default value of setting
doveconf -d some_option_name
# show all settings that differ from default
doveconf -n
# list services listening on tcp port
# defaults: imap (143), imaps (993)
netstat -ltn
# list all configuration files
find /etc/dovecot -type f | sort
# list split configuration files
find /etc/dovecot/conf.d -type f | sort
# compare configuration files
diff -rq /etc/dovecot /home/user/dovecot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment