Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How do I configure the Dovecot message delivery agent to only allow imap connections from localhost?

share|improve this question

1 Answer 1

It's probably easiest to just listen only on localhost:

protocol imap {
    listen =
    ssl_listen =
share|improve this answer
Thanks again for another answer :) I'm a bit green with all this, so what file would I make this change in? – linus1412 Apr 21 '11 at 11:10
Found it - dovecot.conf in /etc/dovecot – linus1412 Apr 21 '11 at 11:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.