disable pop3 ports?

Urban Loesch bind at enas.net
Tue May 4 12:42:59 EEST 2021


Hi,

you can try to insert "protocols = imap lmtp" ath the end of your "dovecot.conf" file.
That works for me.

Regards
Urban

Am 04.05.21 um 10:29 schrieb Dan Egli:
> 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
> auth_debug = yes
> auth_mechanisms = plain login
> auth_socket_path = /run/dovecot/auth-userdb
> auth_verbose = yes
> debug_log_path = /var/log/dovecot/debug.log
> default_vsz_limit = 1 G
> disable_plaintext_auth = no
> first_valid_uid = 114
> hostname = jupiter.newideatest.site
> info_log_path = /var/log/dovecot/info.log
> log_path = /var/log/dovecot/error.log
> mail_debug = yes
> mail_gid = exim4u
> mail_location = maildir:/var/mail/%d/%n/Maildir:INDEX=/var/mail/indexes/%d/%1n/%n
> mail_plugins = fts
> mail_privileged_group = mail
> mail_server_admin = <redacted>
> mail_uid = exim4u
> managesieve_notify_capability = mailto
> managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags 
> copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapsieve vnd.dovecot.imapsieve
> namespace inbox {
>    inbox = yes
>    location =
>    mailbox Drafts {
>      special_use = \Drafts
>    }
>    mailbox Junk {
>      special_use = \Junk
>    }
>    mailbox Sent {
>      special_use = \Sent
>    }
>    mailbox "Sent Messages" {
>      special_use = \Sent
>    }
>    mailbox Trash {
>      special_use = \Trash
>    }
>    prefix =
> }
> passdb {
>    args = /etc/dovecot/dovecot-sql.conf.ext
>    driver = sql
> }
> passdb {
>    args = /etc/dovecot/dovecot-ldap.conf.ext
>    driver = ldap
> }
> plugin {
>    fts_autoindex = yes
>    fts_autoindex_exclude = \Junk
>    fts_autoindex_exclude2 = \Trash
>    fts_autoindex_exclude3 = \Drafts
>    fts_autoindex_exclude4 = \Spam
>    fts_enforced = yes
>    imapsieve_mailbox1_before = file:/var/lib/dovecot/sieve/report-spam.sieve
>    imapsieve_mailbox1_causes = COPY
>    imapsieve_mailbox1_name = Spam
>    imapsieve_mailbox2_before = file:/var/lib/dovecot/sieve/report-ham.sieve
>    imapsieve_mailbox2_causes = COPY
>    imapsieve_mailbox2_from = Spam
>    imapsieve_mailbox2_name = *
>    plugin = fts managesieve sieve
>    sieve = file:%h/sieve;active=%h/.dovecot.sieve
>    sieve_Dir = ~/sieve
>    sieve_execute_bin_dir = /usr/lib/dovecot/sieve-execute
>    sieve_filter_bin_dir = /usr/lib/dovecot/sieve-filter
>    sieve_global_dir = /var/lib/dovecot/sieve/
>    sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment
>    sieve_global_path = /var/lib/dovecot/sieve/default.sieve
>    sieve_pipe_bin_dir = /var/lib/dovecot/sieve
>    sieve_plugins = sieve_imapsieve sieve_extprograms
> }
> postmaster_address = postmaster at newideatest.site
> service auth {
>    unix_listener auth-client {
>      mode = 0600
>      user = exim4u
>    }
>    unix_listener auth-userdb {
>      group = exim4u
>      mode = 0777
>      user = exim4u
>    }
> }
> service lmtp {
>    unix_listener /var/spool/exim/dovecot-lmtp/lmtp {
>      group = exim4u
>      mode = 0660
>      user = exim4u
>    }
> }
> service managesieve-login {
>    inet_listener sieve {
>      port = 4190
>    }
> }
> service stats {
>    unix_listener stats-reader {
>      mode = 0777
>      user = exim4u
>    }
>    unix_listener stats-writer {
>      mode = 0777
>      user = exim4u
>    }
> }
> service submission-login {
>    inet_listener submission {
>      port = 2587
>    }
> }
> ssl_cert = </etc/letsencrypt/live/newideatest.site/fullchain.pem
> ssl_client_ca_dir = /etc/pki/tls/exim_tls/
> ssl_dh = # hidden, use -P to show it
> ssl_key = # hidden, use -P to show it
> userdb {
>    args = /etc/dovecot/dovecot-sql.conf.ext
>    driver = sql
> }
> verbose_ssl = yes
> protocol lmtp {
>    info_log_path = /var/log/dovecot/lmtp.log
>    log_path = /var/log/dovecot/lmtp-errors.log
>    mail_plugins = fts sieve sieve
>    postmaster_address = postmaster at newideatest.site
> }
> protocol lda {
>    info_log_path = /var/log/dovecot/lda.log
>    log_path = /var/log/dovecot/lda-errors.log
>    mail_plugins = fts sieve sieve
> }
> protocol imap {
>    mail_plugins = fts imap_sieve
> }
> 
> 
> and yet if I do doveconf protocols:
> # doveconf protocols
> protocols = imap pop3 lmtp
> 
> On 5/4/2021 2:25 AM, Christian Kivalo wrote:
>>
>>
>> On 2021-05-04 10:20, Dan Egli wrote:
>>> Already did all of that. like I said, EVERY instance of pop3 in the
>>> entire config set is commented out.
>> Then please post the output of doveconf -n. Seems there is still something left.
>>
>> The list of installed dovecot packages would also be help.
>>


More information about the dovecot mailing list