Re: spam databases

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: John Henders
Fecha:  
A: Exim Mailing List
Cc: pashdown
Asunto: Re: spam databases
On Apr 17, Pete Ashdown <pashdown@???> wrote:
> I would like to have three external spam databases:
>
> 1. "From" addresses and domains to refuse.
> 2. Content lines via message_body to refuse messages.
> 3. IP addresses of hosts we don't want connections from.
>
> How are external databases handled with exim's filter? I don't get how
> lookup would apply to the above.



For 1 use something like this.

sender_reject_recipients = *@partial-lsearch;/etc/exim/rejects
sender_host_reject = *@partial-lsearch;/etc/exim/rejects

rejects can be a list of email addresses and hosts this way.

For 3 somthing like the following is needed. (I believe there are plans
to make this an lsearch list as well)

sender_net_reject = "206.185.0.0/255.255.0.0\
                :208.1.232.111/255.255.255.0\
                :209.14.30.0/255.255.255.0\
                :204.176.100.0/255.255.255.0\
                :206.149.148.0/255.255.240.0\
                :205.177.90.0/255.255.255.0\
                :207.33.10.0/255.255.255.0\
                :207.33.109.0/255.255.255.0\
                :208.16.112.0/255.255.240.0\
                :208.1.117.0/255.255.255.0\
                :208.9.65.0/255.255.255.0\
                "
For 2 you need to use the filter stuff, which I haven't used. I use
procmail instead for historical reasons.


Also, you might want the following in your configure file.

sender_verify
sender_verify_fixup
#sender_verify_log_details
sender_verify_reject



-- 
      Artificial Intelligence stands no chance against Natural Stupidity.
                GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
                     b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*