[exim] Blocking Authenticated Exim user whose ip address is …

Page principale
Supprimer ce message
Répondre à ce message
Auteur: normallybaffled
Date:  
À: exim-users
Sujet: [exim] Blocking Authenticated Exim user whose ip address is in an RBL

Hi, I am looking for a way to apply dnslists to users that authenticate to
our exim servers that are connecting via ISPs that have large sections of of
their dynamic ip pools in various RBL's.
Can I do this by simply applying :

 deny dnslists = dnsbl.njabl.org : \
                  cbl.abuseat.org : \
                  sbl-xbl.spamhaus.org : \
                  bl.spamcop.net
        message = $sender_host_address is listed in $dnslist_domain\
                  ${if def:dnslist_text { ($dnslist_text)}


in the acl_check_helo: part of the acl as below?

begin acl

acl_check_helo:
        accept  hosts = +own_hosts


        deny    condition = ${if or { \
                                {eq
{${lc:$sender_helo_name}}{ourdomain.net}} \
                                {eq
{${lc:$sender_helo_name}}{mail2.ourdomain.net}} \
                                {eq
{${lc:$sender_helo_name}}{ourdomain2.net}} \
                                {eq
{${lc:$sender_helo_name}}{mail3.ourdomain.net}} \
                                {eq {${lc:$sender_helo_name}}{our_ips_etc}}
\
                                } {true}{false} }


       deny dnslists = dnsbl.njabl.org : \
                  cbl.abuseat.org : \
                  sbl-xbl.spamhaus.org : \
                  bl.spamcop.net
        message = $sender_host_address is listed in $dnslist_domain\
                  ${if def:dnslist_text { ($dnslist_text)}


>>> or am i off track??

any help on this would be appreciated.
thanks
/normallybaffled



--
View this message in context: http://www.nabble.com/Blocking-Authenticated-Exim-user-whose-ip-address-is-in-an-RBL-tp23717484p23717484.html
Sent from the Exim Users mailing list archive at Nabble.com.