Useful commands for email service running on CentOS

service command - list running services

service --status-all

List service and their open ports

netstat -tulpn

For example:

service dovecot is using port: 110 and 143

service exim is using port: 25

SMTP is specified for outgoing mail transport and uses TCP port 25

 port 110: the port used for receiving email

Port 143: using imap protocol to retrieve eMai


Popular posts from this blog

Check MySQL query history from command line