So, seems 10.0.0.223
is your primary ip and that is the reason exim is getting another ptr.
I don’t want to mess your net conf so I suppose the “easy” way is to modify exim4 to use the right hostname.
First backup exim4 conf just in case…
Check what are the directives using lookup dnsdb
to get the primary_hostname
:
grep '${lookup dnsdb{>: defer_never,ptr=$.*}{${listextract{1}{$value}}}{$primary_hostname}}' /etc/exim4/exim4.conf.template
You should see 3 of them, one smtp_active_hostname
and two helo_data
. Search them in exim conf file and just replace their values with your hostname.
smtp_active_hostname = 1.cloud.yesbhautikx.co.in
helo_data = 1.cloud.yesbhautikx.co.in
helo_data = 1.cloud.yesbhautikx.co.in
Save the conf file and restart exim4.