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

smtp mode not sending mails when using sendgrid as relay #853

Open
onli opened this issue Mar 8, 2024 · 1 comment
Open

smtp mode not sending mails when using sendgrid as relay #853

onli opened this issue Mar 8, 2024 · 1 comment

Comments

@onli
Copy link
Member

onli commented Mar 8, 2024

In the config.toml I have this, which is confirmed to be the correct smtp login data:

smtp_server = "smtp.sendgrid.net:587"
smtp_username = "apikey"
smtp_password = "snip"

This fails with this error when trying to log in:

Mar 08 01:19:30 user portier-broker[2735798]: ERROR  Could not send mail: Connection error: failed to lookup address information: Try again
Mar 08 01:19:30 user portier-broker[2735798]: ERROR  [REF:jjp89h] Failed to send mail

The code looks like it should split the server url and port correctly, and the domain is reachable, so the error is quiet confusing.

This might like #852 be a systemd issue, to be confirmed.

@stephank
Copy link
Member

Strange that lookup fails. Are you using systemd-resolved? I've been experimenting with that recently, and have seen some weird resolution failures, but unsure where those are coming from.

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

No branches or pull requests

2 participants