2
0
forked from drew/smtprelay

Add note how to use environment variables for configuration

This commit is contained in:
Bernhard Froehlich
2022-05-23 15:18:22 +00:00
parent f69d1f0114
commit c83544bd90
2 changed files with 5 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ device which produces mail.
## Main features ## Main features
* Simple configuration with ini file or environment variables
* Supports SMTPS/TLS (465), STARTTLS (587) and unencrypted SMTP (25) * Supports SMTPS/TLS (465), STARTTLS (587) and unencrypted SMTP (25)
* Checks for sender, receiver, client IP * Checks for sender, receiver, client IP
* Authentication support with file (LOGIN, PLAIN) * Authentication support with file (LOGIN, PLAIN)

View File

@@ -1,4 +1,8 @@
; smtprelay configuration ; smtprelay configuration
;
; All config parameters can also be provided as environment
; variables in uppercase and the prefix "SMTPRELAY_".
; (eg. SMTPRELAY_LOGFILE, SMTPRELAY_LOG_FORMAT)
; Logfile (blank/default is stderr) ; Logfile (blank/default is stderr)
;logfile = ;logfile =