haraka / Haraka

A fast, highly extensible, and event driven SMTP server
https://haraka.github.io
MIT License
5.02k stars 662 forks source link

Mutliple IPs and PTR #3372

Closed ravivgolov closed 3 months ago

ravivgolov commented 3 months ago

Hello

I have been able to write my own plugin with the get_mx hook to use additional IPs. However, I am getting the following error when I send an email:

Your IP address x.x.x.3 is associated with the domain mta231-3.sub231.example.com.
Nevertheless your message appears to be sent from relay.haraka.com.

You may want to change your pointer (PTR type) DNS record and the host name of your server to the same value.

Here are the tested values for this check:
IP: x.x.x.3
HELO: relay.haraka.com
rDNS: mta231-3.sub231.example.com

Where can I set the HELO to match the rDNS if I am using multiple IPs? I have added entries to the host_list line by line (mta231-3.sub231.example.com - new line - mta231-4.sub231.example.com, etc) and restarted, but it did not work.

ravivgolov commented 3 months ago

Found about bind_helo. Closed.