Discard mail if remote_host is not set

This is useful for test environments.
This commit is contained in:
Jonathon Reinhart
2021-03-13 00:02:39 -05:00
parent d1933a2e35
commit 20ca816160
3 changed files with 13 additions and 2 deletions

View File

@@ -53,7 +53,8 @@
; E.g. "app@example.com,@appsrv.example.com"
;allowed_users =
; Relay all mails to this SMTP server
; Relay all mails to this SMTP server.
; If not set, mails are discarded.
; GMail
;remote_host = smtp.gmail.com:587