docker-zulip
docker-zulip copied to clipboard
noreply invite emails sending
Hello. I'm trying to set up current Zulip with docker-zulip:latest image and docker-compose sample I have unexplained for me behavior of email sending
I've added this section in environment for Zulip
SETTING_EXTERNAL_HOST: ${PROJECT_BASE_URL}
SETTING_ZULIP_ADMINISTRATOR: ${H_EMAIL}
SETTING_DEFAULT_FROM_EMAIL: ${H_EMAIL}
SETTING_NOREPLY_EMAIL_ADDRESS: ${H_EMAIL}
SETTING_EMAIL_HOST: "smtp.sendgrid.net"
SETTING_EMAIL_HOST_USER: "apikey"
SECRETS_email_password: ${apikey}
SETTING_EMAIL_PORT: "587"
.env have proper values for variables After first run send_test_email shows me
Sending 2 test emails from:
- [email protected]
- noreply-iyxwdq3e5yyzkxytt7dszdud@mydomain
[email protected] is OK and mails are working this time. second is failing via SendGrid After I'm registering a realm I'm receiving welcome message from [email protected] but any further invites creating leads to errors in logs from wrong From: and no valid mails sending
So question is: is there a way to leave only one functional From: address? Maybe there is some hidden hack using manage.py?
ah, its so nice I've answered by myself adding SETTING_ADD_TOKENS_TO_NOREPLY_ADDRESS: "False" making default noreply address apply to all mails it seems. Thanks, can be closed now ;)