Enable the mailer

This commit is contained in:
Awiteb 2024-03-04 16:25:24 +03:00
parent a217b6d328
commit de793150f4
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -127,7 +127,14 @@ REVERSE_PROXY_TRUSTED_PROXIES = *
PASSWORD_HASH_ALGO = pbkdf2_hi
[mailer]
ENABLED = false
; You can disable the mailer and remove the below keys
ENABLED = true
PROTOCOL = smtp+starttls
SMTP_ADDR = smtp.protonmail.ch
SMTP_PORT = 587
USER = noreply@4rs.nl
PASSWD = YOURSMTPTOKEN ; CHANGE_ME (your token)
SEND_AS_PLAIN_TEXT = true
[openid]
ENABLE_OPENID_SIGNIN = true
@ -151,6 +158,10 @@ ENABLE_SITEMAP = false
DISABLE_USERS_PAGE = true
[service]
;; Mailer
ENABLE_NOTIFY_MAIL = true
REGISTER_EMAIL_CONFIRM = false
;; Registration configuration
DISABLE_REGISTRATION = false
REQUIRE_SIGNIN_VIEW = false
@ -158,6 +169,7 @@ REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
EMAIL_DOMAIN_BLOCKLIST = gmail.com,yahoo.com,icloud.com,hotmail.com
;; Captcha configuration
ENABLE_CAPTCHA = true
REQUIRE_CAPTCHA_FOR_LOGIN = true
@ -171,6 +183,7 @@ HCAPTCHA_SITEKEY = blabla
AUTO_WATCH_NEW_REPOS = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = false
DEFAULT_ORG_MEMBER_VISIBLE = true
;; Profile configuration
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_USER_VISIBILITY = private