Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions docs/guides/smtp_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <no-reply@example.com>"
```
Expand Down Expand Up @@ -75,14 +75,15 @@ The SMTP configuration of the scheduler component can be set in the `scheduler/a
web_base_url = <your_listening_ip or fqdn>

# 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
```

Expand Down