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:
| 
| [EMAIL PROTECTED]
| [EMAIL PROTECTED]
| [EMAIL PROTECTED]
| [EMAIL PROTECTED]

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:
| [EMAIL PROTECTED]   User blocked reason YY!
| [EMAIL PROTECTED]      Domain Blocked for reason XXX!
| [EMAIL PROTECTED]            User part blocked for reason BBB!
| [EMAIL PROTECTED]                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





-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to