Postfix: how to use simple file for SASL authentication?

Posted by Jonathan on Server Fault See other posts from Server Fault or by Jonathan
Published on 2013-10-19T23:42:15Z Indexed on 2013/10/20 3:57 UTC
Read the original article Hit count: 496

Filed under:
|

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.

© Server Fault or respective owner

Related posts about postfix

Related posts about sasl