/etc/virtual/helo_data

LawsHosting

Verified User
Joined
Sep 13, 2008
Messages
2,372
Location
London UK
Ok, so I have this set in the exim.conf
Code:
#COMMENT#61:
remote_smtp:
  driver = smtp
  headers_add = "${if def:authenticated_id{X-Authenticated-Id: ${authenticated_id}}}"
  interface = <; ${if exists{/etc/virtual/domainips}{${lookup{$sender_address_domain}lsearch{/etc/virtual/domainips}}}}
  helo_data = ${if exists{/etc/virtual/helo_data}{${lookup{$sending_ip_address}iplsearch{/etc/virtual/helo_data}{$value}
{$primary_hostname}}}{$primary_hostname}}
.include_if_exists /etc/exim.dkim.conf
on all servers.... One server email keeps going to spam on gmail, email as in from DA, fail2ban, etc.... Now, when I check the headers in gmail, I see a different (mail.) hostname and IPv4/6 to that of my actual server hostname..... Upon checking the helo_data on the server, I see
"IPv6":mail.domain1.com
"IPv6":mail.domain2.com
etc
IPv4:mail.domain1.com
IPv4:mail.domain2.com
etc
and on the other server, this file is empty.

The mail.domain1.com IPv6 is the one listed in the headers of the sent email, which is a totally different to the server's hostname - even then, the mail.domain1.com is included in the headers, whereas the server with an empty helo_data has the correct hostname sent in the headers.

Is this a bug in that the first line in the helo_data is always grabbed?
Is the helo_data really needed?
I'm confused........
 
Last edited:
Back
Top