[exim] Block connections based on HELO

Etusivu
Poista viesti
Vastaa
Lähettäjä: Scott Neader
Päiväys:  
Vastaanottaja: exim users
Aihe: [exim] Block connections based on HELO
If I want to block someone that sends HELO as "EXAMPLE" I can do the
following:

acl_smtp_helo = acl_smtp_helo
...
drop
condition = ${if eq {$sender_helo_name}{EXAMPLE} {yes}{no}}
log_message = HELO/EHLO - EXAMPLE blocked
message = EXAMPLE HELO blocked
accept

However, I need a little help with trying to block more than one HELO, for
example, if I want to block EXAMPLE and also FOO. A push in the right
direction would be appreciated!

- Scott