Skip to content

No SMTP servers were available for mydomain.com. No hosts to try. #3252

Discussion options

You must be logged in to vote

I solved the issue. The problem was with DNS resolution. While /etc/hosts was correctly configured and telnet could reach myserver.com, it seems that Postal does not handle IP addresses well (the endpoint variable was empty). I decided to use a public FQDN instead, and the logs showed that Postal attempted to reach that host (unsuccessfully, as it was not an SMTP server). However, this time, the endpoint variable was printed correctly.

To address the issue, I installed dnsmasq and configured systemd-resolved to use dnsmasq as the upstream server. This setup ensures that only the DNS queries for the VPN domain are sent to dnsmasq.

Thank you for the support!

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@willpower232
Comment options

@Salvogiarracca
Comment options

@willpower232
Comment options

@Salvogiarracca
Comment options

Answer selected by willpower232
@willpower232
Comment options

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