Re: [Exim] Personal blacklist

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Axel Hollanda
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Personal blacklist
Hey, Wouter,

    I'm trying to do the same thing here. My table for black list
contains sender and subject options for blocking mail. What should I do:


    if $sender_adress matches content @ mysql_black_list_table and type
@ mysql_black_list_table equals to sender
       block mail
    and/or
    if $header_subject matches content @ mysql_black_list_table and type
@ mysql_black_list_table equals to subject
       block mail


    I just don't know how to do it in exim syntax.


Wouter wrote:

>Hi,
>
>I want to make a personal black list inmy database. I have already exim
>running whit mysql. if i add the follow in exim.conf in the section
>transport section.
>
>warn    message       = X-Warning: $sender_host_address is in a black list
>at $dnslist_domain
>           log_message   = found in $dnslist_domain
>           dnslists      =   ${lookup mysql{SELECT email FROM blacklist
>WHERE email='${dnslist_domain}'}

>
>This line dont work. Most i put somewhere els then in the transport section
>?
>
>Greets Wouter
>
>
>--
>
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>
>



--
###################################################-------...
# Axel Hollanda                                             `
# ahollanda@???                                     ;
#############################################################