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 fails when Host is an IP Address #352

Open
kuya1284 opened this issue Feb 24, 2024 · 0 comments
Open

SMTP fails when Host is an IP Address #352

kuya1284 opened this issue Feb 24, 2024 · 0 comments

Comments

@kuya1284
Copy link

The following error appears when I set WUD_TRIGGER_SMTP_{trigger_name}_HOST to an IP address:

Error (Hostname/IP does not match certificate's altnames: IP: <POSTFIX IP> is not in the cert's list: )

However, when I use an FQDN, I'm able to connect to my Postfix server and send emails without issues. While using an IP, I've tried with WUD_TRIGGER_SMTP_{trigger_name}_TLS_VERIFY set to false but that didn't seem to make a difference.

Here's what shows up in my Postfix logs:

2024-02-23T21:38:25-08:00 Informational postfix/smtpd disconnect from <DOCKER HOSTNAME>[<DOCKER IP>] ehlo=1 starttls=0/1 commands=1/2
2024-02-23T21:38:25-08:00 Informational postfix/smtpd lost connection after STARTTLS from <DOCKER HOSTNAME>[<DOCKER IP>]
2024-02-23T21:38:25-08:00 Informational postfix/smtpd SSL_accept error from <DOCKER HOSTNAME>[<DOCKER IP>]: lost connection
2024-02-23T21:38:25-08:00 Informational postfix/smtpd connect from <DOCKER HOSTNAME>[<DOCKER IP>]

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

1 participant