SMT Relay fails with "No SMTP servers were available for gmail.com. No hosts to try." #2986
Unanswered
jordantrizz
asked this question in
Help with using Postal
Replies: 1 comment 8 replies
-
Are you specifying that relay via yaml or env? I don't think you have the right config |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use an SMTP relay that is a Postfix server on the same host using 127.0.0.1 on port 2525.
I can send using the sendmail command on the local instance, and via telnet outside and inside the docker container postal-smtp-1. Unfortunately, the docker container doesn't have sendmail or telnet but has the nc command which works.
I can't use dig, host or nslookup to see if it's a DNS resolution issue. I can see the /etc/resolv.conf is correct.
Postal works without using an SMTP relay, but the minute I configure an SMTP relay email fails with the error
Here is my config
It seems like this code is related, a DNS query is being done and then if it fails would spit out the same error.
Beta Was this translation helpful? Give feedback.
All reactions