Re: [exim] Senders Black List in file

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Fred Viles
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Senders Black List in file
On 22 Sep 2005 at 18:50, Silmar A. Marca wrote about
    "[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


Read section 9.5, lsearch* is not what you want. You want
wildlsearch, described in section 9.2. And for the third and fourth
lines, you need to supply a regular expression - '*' doesn't do what
you think it does.

|...
| 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????


   drop   senders        = wildlsearch;/etc/mail/lst/blk_sender
          message        = Sender black listed: <$sender_address>, \
                           ${lookup wildlsearch {$sender_address}}


- Fred