Merge pull request #54 from orangerkater/define-mailer-type
issue #53: define mailer type
This commit is contained in:
commit
b1550d80ce
2 changed files with 2 additions and 1 deletions
|
@ -56,6 +56,7 @@ gitea_mailer_host: localhost:25
|
||||||
gitea_mailer_from: noreply@your.domain
|
gitea_mailer_from: noreply@your.domain
|
||||||
gitea_mailer_user: ""
|
gitea_mailer_user: ""
|
||||||
gitea_mailer_password: ""
|
gitea_mailer_password: ""
|
||||||
|
gitea_mailer_type: smtp
|
||||||
|
|
||||||
gitea_fail2ban_enabled: false
|
gitea_fail2ban_enabled: false
|
||||||
gitea_fail2ban_jail_maxretry: 10
|
gitea_fail2ban_jail_maxretry: 10
|
||||||
|
|
|
@ -145,7 +145,7 @@ PASSWD = `{{ gitea_mailer_password }}`
|
||||||
; Send mails as plain text
|
; Send mails as plain text
|
||||||
SEND_AS_PLAIN_TEXT = false
|
SEND_AS_PLAIN_TEXT = false
|
||||||
; Set Mailer Type (either SMTP, sendmail or dummy to just send to the log)
|
; Set Mailer Type (either SMTP, sendmail or dummy to just send to the log)
|
||||||
MAILER_TYPE = smtp
|
MAILER_TYPE = {{ gitea_mailer_type }}
|
||||||
; Specify an alternative sendmail binary
|
; Specify an alternative sendmail binary
|
||||||
SENDMAIL_PATH = sendmail
|
SENDMAIL_PATH = sendmail
|
||||||
; Specify any extra sendmail arguments
|
; Specify any extra sendmail arguments
|
||||||
|
|
Loading…
Reference in a new issue