mirror of
https://github.com/decke/smtprelay.git
synced 2025-12-25 07:43:06 -07:00
Allow config to have multiple remotes.
This will enable development teams to test emails from a system like mailcatcher while also having the email delivered to the indented mailbox.
This commit is contained in:
@@ -87,27 +87,25 @@
|
||||
; If not set, mails are discarded.
|
||||
|
||||
; GMail
|
||||
;remote_host = smtp.gmail.com:587
|
||||
;remotes = smtp://user:pass@smtp.gmail.com:587
|
||||
|
||||
; Mailgun.org
|
||||
;remote_host = smtp.mailgun.org:587
|
||||
;remotes = smtp://user:pass@smtp.mailgun.org:587
|
||||
|
||||
; Mailjet.com
|
||||
;remote_host = in-v3.mailjet.com:587
|
||||
;remotes = smtp://user:pass@in-v3.mailjet.com:587
|
||||
|
||||
; Ignore remote host certificates
|
||||
;remote_skip_verify = false
|
||||
;remotes = smtp://user:pass@server:2525?skipVerify
|
||||
|
||||
; Authentication credentials on outgoing SMTP server
|
||||
;remote_user =
|
||||
;remote_pass =
|
||||
|
||||
; Authentication method on outgoing SMTP server
|
||||
; (none, plain, login)
|
||||
;remote_auth = none
|
||||
; Login Authentication method on outgoing SMTP server
|
||||
;remotes = smtp://user:pass@server:2525?auth=login
|
||||
|
||||
; Sender e-mail address on outgoing SMTP server
|
||||
;remote_sender =
|
||||
;remotes = smtp://user:pass@server:2525/overridden@email.com?auth=login
|
||||
|
||||
; Multiple remotes
|
||||
;remotes = smtp://127.0.0.1:1025 smtp://user:pass@smtp.mailgun.org:587
|
||||
|
||||
; Pipe messages to external command
|
||||
;command = /usr/local/bin/script
|
||||
|
||||
Reference in New Issue
Block a user