Re: [Exim] Question concerning lookups

Page principale
Supprimer ce message
Répondre à ce message
Auteur: William Thompson
Date:  
À: Ralf Ramge
CC: exim-users
Sujet: Re: [Exim] Question concerning lookups
> I'm using the following ACL with Exim 4.14:
>
> ---8<---
>   deny    hosts         = +reject_from_hosts
>           message       = Keep your spam.
> ---8<---

>
> ---8<---
> deny hosts = dbm;/etc/exim/dbm/blacklist_hosts.dbm
>      message       = Keep your spam.
> ---8<---

>
> The dbm file has been created with exim_dbmbuild. Okay, let's have
> a look at Exim's output:
>
> Now Exim doesn't search for the hosts IP, it looks for it's FQDN. I've
> noticed the same behaviour after leaving the ACL definition in it's
> original state and using
>
> hostlist reject_from_hosts = dbm;/etc/exim/dbm/blacklist_hosts.dbm
>
> or
>
> hostlist reject_from_hosts = lsearch;/etc/exim/blacklist_hosts


Have you tried:
deny hosts net-dbm;/etc/exim/dbm/blacklist_hosts.dbm
     message       = Keep your spam.



I have a black list as well, however, my list contains host IPs and network
IPs with various netmasks and is currently in a flat file.