Optimized mail integration and solved bugs (hopefully I didn't create more)

This commit is contained in:
2025-01-16 16:36:15 +01:00
parent d1bec25781
commit b0d5396ea8
13 changed files with 60 additions and 25 deletions

View File

@@ -38,10 +38,17 @@ docker-compose up -d --force-recreate && sleep 2; docker compose exec --user www
### info
```bash
## Check general config
cat /var/lib/docker/volumes/friendica_data/_data/config/local.config.php
## Check environment variables
docker compose exec -it application printenv
## Check email configuration
docker compose exec -it application cat /etc/msmtprc
```
## email debugging:
echo "Testnachricht" | msmtp --account=system_email -t kevin@veen.world
## create user
INSERT INTO user (guid, username, email, password, verified, register_date, account_expires_on, account_expired)
VALUES (

View File

@@ -37,8 +37,8 @@ services:
SMTP_PORT: {{system_email_smtp_port}}
SMTP_AUTH_USER: {{system_email_username}}
SMTP_AUTH_PASS: {{system_email_password}}
SMTP_STARTTLS: "{{ 'On' if system_email_start_tls else 'Off' }}"
SMTP_FROM: {{system_email_address}}
SMTP_STARTTLS: {{ 'on' if system_email_start_tls else 'off' }}
SMTP_FROM: {{system_email_from}}
# Administrator Credentials
FRIENDICA_ADMIN_MAIL: {{administrator_email}}