Notifications
SMTP configuration for email notifications and the network policy of notification webhooks.
All variables are optional: email notifications are disabled when CROW_SMTP_HOST and CROW_SMTP_FROM are not set.
SMTP_HOST
Section titled “SMTP_HOST”- Name:
CROW_SMTP_HOST - Description: SMTP server hostname.
- Default: none
SMTP_PORT
Section titled “SMTP_PORT”- Name:
CROW_SMTP_PORT - Description: SMTP server port. Port 465 uses implicit TLS (SMTPS), port 25 uses opportunistic TLS, and all other ports (including the default 587) require TLS.
- Default:
587
SMTP_USERNAME
Section titled “SMTP_USERNAME”- Name:
CROW_SMTP_USERNAME - Description: SMTP authentication username.
When set, authentication is used with the mechanism specified by
CROW_SMTP_AUTH_TYPE. Leave empty for unauthenticated SMTP. - Default: none
SMTP_PASSWORD
Section titled “SMTP_PASSWORD”- Name:
CROW_SMTP_PASSWORD - Description: SMTP authentication password.
- Default: none
SMTP_AUTH_TYPE
Section titled “SMTP_AUTH_TYPE”- Name:
CROW_SMTP_AUTH_TYPE - Description: SMTP authentication mechanism.
Supported values:
LOGIN,PLAIN,CRAM-MD5,AUTO(discovered from the server),NONE. - Default:
LOGIN
SMTP_FROM
Section titled “SMTP_FROM”- Name:
CROW_SMTP_FROM - Description: Email address used as the sender (“From”) for all notification emails.
- Default: none
WEBHOOK_NOTIFY_ALLOWED_HOSTS
Section titled “WEBHOOK_NOTIFY_ALLOWED_HOSTS”- Name:
CROW_WEBHOOK_NOTIFY_ALLOWED_HOSTS - Description: Comma-separated host names or IP addresses that notification webhooks may post to although they resolve to private, loopback, link-local or CGNAT addresses. Matching is exact and ignores case and the port of the URL. Without it, Crow only posts to public addresses.
- Default: none
- Example:
CROW_WEBHOOK_NOTIFY_ALLOWED_HOSTS=ntfy.internal,10.0.0.5