I have installed hMailserver in one machine and IIS smtp in another machine. Even though hMailsever itself is a smptp server.
I can't avoid this because the IIS Smtp server has some hooks which which encrypts and decrypts the incoming and outgoing mails. Since IIS smtp doesn't support to create & manage mail accounts, I thought of using hMail server.
I have a very old server that we cannot get rid of or update (as we don't know what might break). Until we completely git rid of all the client's on that server, I need a way to send mail using the mail command instead of sendmail or using the SMTP library for connecting to GMail or something like that.
I want to set up a lightweight outgoing mail server (actually on a Raspberry Pi, but I think this question has broader relevance so I am posting it here). This post notes that you need to have a "full-fledged" MTA relay your mail to use, e.g., ssmtp. It also warns that Bad Things will happen if you don't control the mail hub.
We use a commercial SMTP service.
Need to send email from command line via cron. So no user intervention is important.
No DNS going, no incoming connections or mail, this is just a basic server for occasional outgoing mail only.
I've also tried ports 25, 80, and 3535 which is on the SMTP provider's website for their SMTP server. They do not use port 587.