Postfix: how to use simple file for SASL authentication?
- by Jonathan
I'd like to run Postfix on a Debian VPS to send e-mails from my application. The application (running on other VPSes) would connect to Postfix via SMTP. Postfix does not have to handle incoming email; it's just about sending the outgoing messages.
To prevent being an open relay, SASL authentication should be used. However, I don't want to run Dovecot or MySQL for SASL authentication.
How can I setup SASL authentication using a simple file (containing usernames and passwords)?
I already found a similar question; however, no satisfying answers where given there.