Compare commits

..

No commits in common. "4513cb54a3626c0a764d4ef51397d57b90b2e810" and "2acdd20428ece641f379f7570646e0a829b97654" have entirely different histories.

2 changed files with 80 additions and 82 deletions

View File

@ -37,8 +37,6 @@
<value>non</value> <value>non</value>
</variable> </variable>
<variable name='gitea_mail_from' type='string' description="Adresse courriel a l'origine des messages de la forge"/> <variable name='gitea_mail_from' type='string' description="Adresse courriel a l'origine des messages de la forge"/>
<variable name='gitea_smtp_srv' type='string' description="Adresse IP ou DNS du serveur SMTP à utiliser"/>
<variable name='gitea_smtp_prt' type='port' description="Port du serveur SMTP à utiliser"/>
<variable name='gitea_mail_auth' type='oui/non' description="Utiliser un compte pour le serveur smtp"> <variable name='gitea_mail_auth' type='oui/non' description="Utiliser un compte pour le serveur smtp">
<value>non</value> <value>non</value>
</variable> </variable>
@ -79,10 +77,6 @@
<condition name='hidden_if_in' source='gitea_mail'> <condition name='hidden_if_in' source='gitea_mail'>
<param>non</param> <param>non</param>
<target type='variable'>gitea_mail_from</target> <target type='variable'>gitea_mail_from</target>
<target type='variable'>gitea_smtp_srv</target>
<target type='variable'>gitea_smtp_prt</target>
<target type='variable'>gitea_email_user</target>
<target type='variable'>gitea_email_password</target>
</condition> </condition>
<condition name='disabled_if_in' source='activer_gitea'> <condition name='disabled_if_in' source='activer_gitea'>
<param>non</param> <param>non</param>

View File

@ -137,7 +137,11 @@ SUBJECT = %(APP_NAME)s
; Gmail: smtp.gmail.com:587 ; Gmail: smtp.gmail.com:587
; QQ: smtp.qq.com:25 ; 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. ; 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.
HOST = %%gitea_smtp_srv:%%gitea_srv_prt %if %%getVar('activer_exim_relay_smtp','non') == 'oui'
HOST = %%exim_relay_smtp:25
%else
HOST = 127.0.0.1
%end if
; Do not verify the certificate of the server. Only use this for self-signed certificates ; Do not verify the certificate of the server. Only use this for self-signed certificates
SKIP_VERIFY = true SKIP_VERIFY = true
; Use client certificate ; Use client certificate