disable pop3 ports?

Christian Kivalo ml+dovecot at valo.at
Tue May 4 12:18:26 EEST 2021



On 2021-05-04 10:29, Dan Egli wrote:
> For gentoo, there is only one package.  And here's your output:
> 
> # 2.3.13 (89f716dc2): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.5.13 (cdd19fe3)
> # OS: Linux 5.11.16-gentoo-x86_64 x86_64 Gentoo Base System release 2.7 
> xfs
> # Hostname: jupiter.newideatest.site

> 
> 
> and yet if I do doveconf protocols:
> # doveconf protocols
> protocols = imap pop3 lmtp
In dovecot.conf i have a line that enables the protocols.

# Enable installed protocols
!include_try /usr/share/dovecot/protocols.d/*.protocol

This is on debian where every protocol is a separate package to install.
This could also just be:
protocols = imap lmtp pop3

Remove pop3 from there and you should be good. You can even have the 
config in place.

The other option to disable the pop3 listeners is to set the port = 0

 From 10-master.conf (when using split config files)
service pop3-login {
   inet_listener pop3 {
     port = 0
   }
   inet_listener pop3s {
     port = 0
     ssl = yes
   }
}

This disables pop3 listeners even when the pop3 protocol is enabled.

-- 
  Christian Kivalo


More information about the dovecot mailing list