When I do netstat -tanup as root on my Debian host, process 1/init is displayed for port 993. How is this possible ? I never saw such behavior. The command systemctl list-sockets shows the correct service dovecot associated to port 993. EDIT: I noticed another strange thing: Sytemd reports that davecot is listening on port 143 (imap) and dovecot is configured to not listen on port 143. I get a warning in the logs about that: dovecot: master: Error: systemd listens on port 143, but it's not configured in Dovecot. Closing.: 2 Time(s)
Netstat display wrong process associated to listening port
debian;netstat
By default dovecot run pop , imap , pop3 and imaps on the following ports:110: pop143: imap995: pop3s993: imapsinstall dovecot-pop3d then copy dovecot.socket to /etc/systemdsudo cp /lib/systemd/system/dovecot.socket /etc/systemd/system/sudo systemctl reenable dovecot.socketModify dovecot.socket:sudo sed -i '/:143$/s/^/#/' /etc/systemd/system/dovecot.socketRestart the service:sudo systemctl stop dovecot.servicesudo systemctl start dovecot.socketsudo systemctl daemon-reloadCheck the status:sudo systemctl status dovecot.socket