April 19th, 2013, 01:32 PM
Install more than one MTA? (newbie)
I would like to install several MTA's on my sandbox Ubuntu 12.04 VPS to try them out. I have sendmail installed and then I tried to install exim but I got an error message saying that port 25 was already in use (by Sendmail). So I guess I could uninstall sendmail before installing exim but is there a way for them to co-exist so that I could switch between them? Could I disable Sendmail or do I need to uninstall it? Is it ok / normal to install more than one MTA at the same time or is it not a good idea / more trouble than it is worth?
You can have as many MTA installed as you want.
The problem is that by default, they all listed on port 25.
So if you have sendmail running and listening on that port, trying to start exim will error out.
You can stop sendmail and then start exim, or configure exim to listen on a different port.
You can for testing purposes also list the other ones on seperate ports.
Only do this for testing purposes as I would net recommend it in a production enviroment.
OK thanks to theserverteam and NFOrce