How do I configure the Dovecot message delivery agent to only allow imap connections from localhost?
Configure Dovecot to only let localhost connect via imap
dovecotimaplocalhost
Related Topic
- Migrating from Courier-IMAP to Dovecot. Roundcube dom’t get folders
- Dovecot IMAP – Authentication Failed Troubleshooting
- Migrating from any IMAP/POP3 server to Dovecot
- Configure Postfix and Dovecot to only listen to unencrypted ports on localhost
- dovecot – Dovecot IMAP-Login: Confusing Error Message
- Dovecot IMAP – Setting Up Kerberos/GSSAPI Authentication Proxy
Best Answer
The
listen = addr:port
config is deprecated in newer versions of dovecot. The new way of doing things is withservice { inet_listener imap { address = ... } }
.On my system it's in
/etc/dovecot/conf.d/10-master.conf
: