Last active
May 13, 2021 12:05
-
-
Save stefanschmidt/e839beda428cec3ff359b8170ee01d54 to your computer and use it in GitHub Desktop.
Dovecot command collection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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