feat: configure SMTP email notifications across all services
Added comprehensive email configuration to enable notifications for
password resets, user invitations, system alerts, and backup failures.
**Services configured:**
- **Vaultwarden** (vault/compose.yaml):
- SMTP settings for password resets, 2FA, emergency access emails
- Uses IONOS SMTP with force_tls security
- Sender: hi@pivoine.art
- **Linkwarden** (links/compose.yaml):
- Email server configuration for user invitations
- Password reset functionality via email
- Uses smtp:// connection string format
- **n8n** (n8n/compose.yaml):
- SMTP mode enabled for workflow notifications
- User invitation emails
- Password reset support
- SSL-secured connection
- **Netdata** (netdata/compose.yaml, health_alarm_notify.conf, msmtprc):
- Health alarm notifications via email
- MSMTP configuration for sending alerts
- Notifications sent to valknar@pivoine.art
- Alerts for system issues, resource exhaustion, service failures
**Common SMTP settings** (from .env):
- Provider: IONOS (smtp.ionos.de:465)
- From address: hi@pivoine.art
- Transport: SMTP with TLS/SSL
- Admin email: valknar@pivoine.art
**Backrest notifications:**
- Configured via web UI at restic.pivoine.art
- Supports webhooks to Gotify for push notifications
- Email notifications can be added through UI settings
All services now have proper email notification capabilities for
improved monitoring, user management, and security features.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 19:23:56 +01:00
|
|
|
# Netdata health alarm notification configuration
|
|
|
|
|
# This file configures where to send alarm notifications
|
|
|
|
|
|
|
|
|
|
# Enable/disable sending email notifications
|
|
|
|
|
SEND_EMAIL="YES"
|
|
|
|
|
|
|
|
|
|
# Recipient email address for all alarms
|
|
|
|
|
DEFAULT_RECIPIENT_EMAIL="${ADMIN_EMAIL}"
|
|
|
|
|
|
|
|
|
|
# Email sender address
|
|
|
|
|
EMAIL_SENDER="${EMAIL_FROM}"
|
|
|
|
|
|
|
|
|
|
# SMTP configuration
|
|
|
|
|
SENDMAIL=""
|
|
|
|
|
EMAIL_SENDER="${EMAIL_FROM}"
|
|
|
|
|
|
|
|
|
|
# Custom send email command using msmtp
|
|
|
|
|
EMAIL_COMMAND="msmtp -t"
|
|
|
|
|
|
|
|
|
|
# Enable specific notification types
|
|
|
|
|
role_recipients_email[sysadmin]="${ADMIN_EMAIL}"
|
|
|
|
|
role_recipients_email[domainadmin]="${ADMIN_EMAIL}"
|
|
|
|
|
role_recipients_email[dba]="${ADMIN_EMAIL}"
|
|
|
|
|
role_recipients_email[webmaster]="${ADMIN_EMAIL}"
|
|
|
|
|
role_recipients_email[proxyadmin]="${ADMIN_EMAIL}"
|
|
|
|
|
role_recipients_email[sitemgr]="${ADMIN_EMAIL}"
|
2025-11-08 19:59:58 +01:00
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
|
# Mattermost notifications
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
# Enable Mattermost notifications
|
|
|
|
|
SEND_MATTERMOST="YES"
|
|
|
|
|
|
|
|
|
|
# Mattermost incoming webhook URL
|
|
|
|
|
MATTERMOST_WEBHOOK_URL="${MATTERMOST_WEBHOOK_URL}"
|
|
|
|
|
|
|
|
|
|
# Mattermost channel (optional, webhook default channel will be used if empty)
|
|
|
|
|
DEFAULT_RECIPIENT_MATTERMOST=""
|
|
|
|
|
|
|
|
|
|
# Mattermost notification recipients per role
|
|
|
|
|
role_recipients_mattermost[sysadmin]="notifications"
|
|
|
|
|
role_recipients_mattermost[domainadmin]="notifications"
|
|
|
|
|
role_recipients_mattermost[dba]="notifications"
|
|
|
|
|
role_recipients_mattermost[webmaster]="notifications"
|
|
|
|
|
role_recipients_mattermost[proxyadmin]="notifications"
|
|
|
|
|
role_recipients_mattermost[sitemgr]="notifications"
|