diff --git a/.venv b/.venv new file mode 100644 index 00000000..b80f0bd6 --- /dev/null +++ b/.venv @@ -0,0 +1 @@ +app diff --git a/README.md b/README.md index 363afa10..232f7f55 100644 --- a/README.md +++ b/README.md @@ -428,7 +428,6 @@ Finally, restart Postfix sudo systemctl restart postfix ``` - ### Run SimpleLogin Docker containers To run the server, you need a config file. Please have a look at [config example](example.env) for an example to create one. Some parameters are optional and are commented out by default. Some have "dummy" values, fill them up if you want to enable these features (Paddle, AWS, etc). @@ -584,6 +583,7 @@ Below are pointers to different topics: - [SES - Amazon Simple Email Service](docs/ses.md) - [Upgrade existing SimpleLogin installation](docs/upgrade.md) - [Enforce SPF](docs/enforce-spf.md) +- [Postfix TLS](docs/postfix-tls.md) ## Contributing diff --git a/docs/postfix-tls.md b/docs/postfix-tls.md new file mode 100644 index 00000000..75c589ff --- /dev/null +++ b/docs/postfix-tls.md @@ -0,0 +1,15 @@ +In case your Postfix server is on another server, it's recommended to enable TLS on Postfix submission to +secure the connection between SimpleLogin email handler and Postfix. + +This can be enabled by adding those lines at the end of `/etc/postfix/master.cf` + +``` +submission inet n - y - - smtpd + -o syslog_name=postfix/submission + -o smtpd_tls_security_level=encrypt + -o smtpd_sasl_auth_enable=yes + -o smtpd_tls_auth_only=yes +``` + +Make sure to set the `POSTFIX_SUBMISSION_TLS` variable to `true` in the SimpleLogin `simplelogin.env` file. +