Bybass helo check for certain sender host

Djunity

Verified User
Joined
Mar 9, 2008
Messages
243
Location
Holland
Hi all,

In exim.conf section 27 we have the following:
#EDIT#27:
# 1st deny checks if it's a hostname or IPV4 address with dots or IPV6 address
deny message = R1: HELO should be a FQDN or address literal (See RFC 2821 4.1.1.1)
!authenticated = *
condition = ${if match{$sender_helo_name}{\N^\[\N}{no}{yes}}
condition = ${if match{$sender_helo_name}{\N\.\N}{no}{yes}}
## 2nd deny makes sure the hostname doesn't end with a dot (invalid)
# deny message = R2: HELO should be a FQDN or address literal (See RFC 2821 4.1.1.1)
# !authenticated = *
# condition = ${if match{$sender_helo_name}{\N\.$\N}}
# 3rd deny makes sure the hostname has no double-dots (invalid)
deny message = R3: HELO should be a FQDN or address literal (See RFC 2821 4.1.1.1)
!authenticated = *
condition = ${if match{$sender_helo_name}{\N\.\.\N}}
## 4th deny make sure the hostname doesn't end in .home (invalid domain)
# deny message = R4: HELO should be a FQDN or address literal (See RFC 2821 4.1.1.1)
# !authenticated = *
# condition = ${if match{$sender_helo_name}{\N\.home$\N}}

When or vcenter sends alert message's the are rejected on the R1 section.
What i want is to skip this checks if its from or vcenter server how can that be done ?
 
Hello,

Create if missing the file /etc/virtual/whitelist_hosts and and trusted IPs into the file. And add the line:
Code:
!hosts = +whitelist_hosts_ip

after

Code:
!authenticated = *

in section #EDIT#27

Restart exim and try. Please update us ith results.
 
Hi Alex,

Indeed this is wat i was looking for works like a charm, my effort was in the wrong direction :(
 
Back
Top