> On 9 Jun 2024, at 00:21, Jeff Peng via dovecot <dovecot@dovecot.org> wrote:
> 
> 
> But this doesn't close the port 143.
> So I have changed it to:
> 
> service imap-login {
>  inet_listener imap {
>    address = 127.0.0.1
>    port = 143
>  }
> 
> This let port 143 listen on local address.
> 
> my question, is it possible to close port 143 entirely in dovecot?

Hi Jeff,

This is what I have in /etc/dovecot/conf.d/10-master.conf:

service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }

In other words set the port to zero. I only have port 993 listening.


Pete.

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to