I would like to setup sendmail to send out mail using an external smtp-server with authentication. I've searched for solutions, but can't seem to find what I need. There are several examples about ssmtp and using gmail as smarthost, but then I read that ssmtp is not for servers.
For authentication I have:
- server: mail.server.remote, port 25
- user: [email protected]
- password: password123456
Sendmail is installed and running. (Postfix is not installed.)
How do I configure sendmail to use the external smpt server?