socket bind() to port 25 for address (any IPv4) failed: Address already in use
socket bind() to port 25 for address (any IPv4) failed: Address already in use: waiting 30s before trying again (8 more tries)
If you are getting the above error on the exim_mainlog and the exim is not starting, it is most probably due to the port 25 is being used by another process.
You can find it using the following command.
netstat -pln | grep :25
Except for Exim email service, you can terminate any other process or service which is bind to port 25.
Then restart exim using the following command.
service exim restart
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at email@example.com