mirror of
https://github.com/simple-login/app.git
synced 2025-02-22 23:02:55 +08:00
Merge pull request #271 from simple-login/postfix-tls
Enable TLS on Postfix submission
This commit is contained in:
commit
0b2b653a7b
3 changed files with 17 additions and 1 deletions
1
.venv
Normal file
1
.venv
Normal file
|
@ -0,0 +1 @@
|
|||
app
|
|
@ -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
|
||||
|
||||
|
|
15
docs/postfix-tls.md
Normal file
15
docs/postfix-tls.md
Normal file
|
@ -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.
|
||||
|
Loading…
Reference in a new issue