Self-hosted installation SMTP error

When I try to send the verification email, I received this error:

2023-06-17 17:00:16.016 +00:00 [Error] “Your IP: ... : Your domain example.com is not allowed in header From”
MailKit.Net.Smtp.SmtpCommandException: “Your IP: ... : Your domain example.com is not allowed in header From”

The ip is the WAN ip on my router. The domain resolves locally.

Resolved. I located the misconfiguration.