Updating SMTP configuration for gitea

This commit is contained in:
2021-03-24 15:35:42 +01:00
parent 60a65d21f1
commit 487bcb6f0d
2 changed files with 82 additions and 80 deletions

View File

@ -137,11 +137,7 @@ SUBJECT = %(APP_NAME)s
; Gmail: smtp.gmail.com:587
; QQ: smtp.qq.com:25
; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used.
%if %%getVar('activer_exim_relay_smtp','non') == 'oui'
HOST = %%exim_relay_smtp:25
%else
HOST = 127.0.0.1
%end if
HOST = %%gitea_smtp_srv:%%gitea_srv_prt
; Do not verify the certificate of the server. Only use this for self-signed certificates
SKIP_VERIFY = true
; Use client certificate