diff --git a/docs/guides/smtp_configuration.md b/docs/guides/smtp_configuration.md index 3b43c31..e4466f0 100644 --- a/docs/guides/smtp_configuration.md +++ b/docs/guides/smtp_configuration.md @@ -25,10 +25,10 @@ To specify your smtp, add the following lines inside the `web/opencve/conf/setti EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend" EMAIL_HOST = "smtp.example.com" -EMAIL_HOST_USER = "user" -EMAIL_HOST_PASSWORD = "password" -EMAIL_PORT = 587 -EMAIL_USE_TLS = True +EMAIL_HOST_USER = "user" # Unauthenticated SMTP: Comment out variable or leave empty +EMAIL_HOST_PASSWORD = "password" # Unauthenticated SMTP: Comment out variable or leave empty +EMAIL_PORT = 587 # Unauthenticated SMTP: Set to 25 (or custom port if necessary) +EMAIL_USE_TLS = True # Unauthenticated SMTP: Set to False DEFAULT_FROM_EMAIL = "OpenCVE.dev " ``` @@ -75,14 +75,15 @@ The SMTP configuration of the scheduler component can be set in the `scheduler/a web_base_url = # The SMTP server used to send the email notifications +# All properties must remain present in config notification_smtp_host = smtp.example.com -notification_smtp_user = user -notification_smtp_password = password +notification_smtp_user = user # Unauthenticated SMTP: Leave empty +notification_smtp_password = password # Unauthenticated SMTP: Leave empty notification_smtp_mail_from = john@example.com -notification_smtp_port = 587 -notification_smtp_use_tls = True +notification_smtp_port = 587 # Unauthenticated SMTP: Set to 25 (or custom port if necessary) +notification_smtp_use_tls = True # Unauthenticated SMTP: Set to False notification_smtp_start_tls = False -notification_smtp_validate_certs = True +notification_smtp_validate_certs = True # Unauthenticated SMTP: Set to False notification_smtp_timeout = 30 ```