Re: [Exim] ACL formats

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Juha Saarinen
Dátum:  
Címzett: Scott M. Nolde
CC: exim-users@exim.org
Tárgy: Re: [Exim] ACL formats
On Thu, 6 Jun 2002, Scott M. Nolde wrote:

> This is very similar to what I've done. However, I made a script to get
> the SPEWS level one list:
> ---
> #!/bin/sh
> # This retrievs the IP address is the SPEWS mirror
> # http://relays.osirusoft.com/mirror
> # Run this script once per day.
>
> /usr/local/bin/lynx -dont_wrap_pre -dump
> http://www.spews.org/spews_list_level1.txt | awk '{print $1}' | \
> grep -v "#" | sort -n | uniq > /etc/exim/LARTed.txt
>
> /usr/local/sbin/exim_dbmbuild /etc/exim/LARTed.txt /etc/exim/LARTed.db.new
>
> mv /etc/exim/LARTed.db.new /etc/exim/LARTed.db
>
> exit 0
> ---
>
> Then in my exim configuration file I have:
> host_reject = dbm;/etc/exim/LARTed.db
>
>  I also block by domain name and have a fairly large file of domains I
>  don't accept email from, except from whitelisted users:
>  sender_reject_recipients = ! /etc/exim/whitelist : \
>                          dbm;/etc/exim/spammers.db

>
> This, plus using relays.osirusoft.com/reject has helped tremendously.


Now this looks *very* interesting. Will try it out. Thanks!

--
Juha Saarinen