Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

noreply invite emails sending #425

Closed
lazyest opened this issue Jan 16, 2024 · 1 comment
Closed

noreply invite emails sending #425

lazyest opened this issue Jan 16, 2024 · 1 comment

Comments

@lazyest
Copy link

lazyest commented Jan 16, 2024

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] 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?

@lazyest
Copy link
Author

lazyest commented Jan 16, 2024

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 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants