marco stocchi writes:
Hello everyone,
I am trying to configure dovecot but after having followed the Fedora 31
documentation, I get the following systemctl status (port 587/tcp is open
and OS is fresh of installation):
By "followed the Fedora 31 documentation" do you mean "dnf install
dovecot",
or something else?
dovecot[1754]: Error: bind(0.0.0.0, 587) failed: Permission denied
dovecot[1754]: Error: service(submission-login): listen(*, 587) failed:
Permission denied
dovecot[1754]: Fatal: Failed to start listeners
Is anybody encountering the same problem?
Dovecot is an IMAP and POP3 server.
Port 587 is the submission MSA port. It is not used by IMAP and POP3
servers. It is used by SMTP servers.
I do not have direct familiarity with dovecot, but I can't think of any
reason why it will be listening on port 587. Do you know exactly what you
did to apparently make Dovecot attempt to listen on port 587, and for which
reason did you want Dovecot to do that?
You probably have SELinux operating in enforcing mode, and it's blocking
Dovecot from binding to port 587.
As it should.
As Mr. Spock would say: this would not be a logical thing to do.