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)
Best Answer
By default dovecot run
pop
,imap
,pop3
andimaps
on the following ports:install
dovecot-pop3d
then copydovecot.socket
to/etc/systemd
Modify
dovecot.socket
:Restart the service:
Check the status: