Is there a SMTP server that can start on localhost without root privileges? Postfix and sendmail both require root to start.
Update: To clarify both Postfix and sendmail require root to start even if port is changed to above 1024.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
I can recommend Haraka - you can use it as non-root on a high port without modifying the source code.
Disclaimer: I wrote Haraka.
Root privileges are required to listen on ports <1024. Usage of these ports is restricted to root or a user running with the CAP_NET_BIND_SERVICE privilege (which requires root to configure).
Your other option is to run a server on a port >1024.
After some research solution is to install exim, change SMTP port number, chown exim spool directory for the required user, then modify exim source code to remove the requirement for root and chowns.