Re: [exim] Blocking dynamic IPs

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users @ exim. org
Sujet: Re: [exim] Blocking dynamic IPs
Luca Bertoncello wrote:
> In order to reduce the daily quantity of trash in our system, we'd like to
> block the E-Mails from dynamic IPs (of course, I mean, the E-Mail from MTA
> with dynamic IPs! Not normal communication between a customer Mail-program and
> our Servers!).
> Has anyone already done it? How can I do it with Exim?


You put a deny in your rcpt acl based on a dnsbl lookup,
using a dnsbl which specialises in listing dynamic and
generic IP addresses.

> Additional question: how can I manage an "exception list" (for example of
> Servers with dynamic IP but registered in DynDNS)?


You maintain a file of such IP addresses, and lookup in there
to avoid doing the above dnsbl test. Quite how you "manage"
the file is up to you - I'm not entirely sure what you're
asking. "vi filename" would suffice for me, but perhaps
you have too many addresses for that to be viable.

- Jeremy