I have followed the steps in this tutorial but it wouldn't work.
https://serversforhackers.com/setting-up-mailcatcher
I did however successfully installed mailcatcher and have tested. It is working, however I can't run it as a service.
Anyone knows how to do this in CentOS? Thanks.