[exim] Re: Tackling Bot Blasts

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Slavko
Dátum:  
Címzett: exim-users
Tárgy: [exim] Re: Tackling Bot Blasts
Dňa 29. mája 2023 9:01:56 UTC používateľ Pete Long via Exim-users <exim-users@???> napísal:

>drop
> message = No host name found.
> condition = ${if eq{$host_lookup_failed} {1} {1}{0}}


Beware, host lookup is done by forward confirmation,
in other words, PTR followed by A/AAAA lookup. That
variable has 1 if any from them fails, not only the PTR
one... IMO too strict for real world...

Anyway, that must be enough:

    condition = $host_lookup_failed

regards


-- 
Slavko
https://www.slavino.sk/


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/