[exim] Senders Black List in file

Top Page
Delete this message
Reply to this message
Author: Silmar A. Marca
Date:  
To: exim-users
Subject: [exim] Senders Black List in file
I have in my configuration:
acl_check_mail:
  drop   senders        = lsearch*@;/etc/mail/lst/blk_sender
         message        = Sender black listed: <$sender_address>
         delay          = 30s


The file "blk_sender" contain:

usersp@???
*@domainspam.com
userspam@*
*@*.xx

But only first and second line are blocked, the userspam@* and *@*.xx not run!
Have other search (TESTED)? I need to create black list using "blk_sender" file
to search spammer in "mail" and in "data" stage. ($sender_address and
$h_from)...


Have other situation on blk_sender:
usersp@???   User blocked reason YY!
*@domainspam.com      Domain Blocked for reason XXX!
userspam@*            User part blocked for reason BBB!
*@*.xx                Domain Blocked for reason HHH!


How to use these file type and show to user a reason of block?????? In acl data
and mail????



Cordialmente, Silmar A. Marca
------------------------------------------------------------
Se algo nao lhe faz mal (fisico, moral ou psicologicamente),
experimente! O maximo e voce perder tempo! E tempo, e
o que voce tem a vida toda pra perder.....
Mais vale um instante de prazer que uma eternidade futil!
------------------------------------------------------------