> > I want to block Mails not by the email-address, but by the name in the field
> > "from:" such as "Doctor" <blabla(at)blablabla.net>. 
> > So for example any mail that contains "doctor" in the from-field and with 
> > any
> > email-address should be rejected.
> > Is it possible ? And how can I add it to the global.system.filter ?
> 
> I have done it in ACLs:
> 
> Place in "acl_smtp_data" section:
> 
> # blacklist -- $h_from
> 
> deny    message = $acl_m1 "${address:$h_From:}"
>         set acl_m1 = ${lookup {${address:$h_From:}} \
>                      nwildlsearch{/path_to_blacklists/h_from} }
>         condition = ${if eq {$acl_m1} {} {no} {yes} }
> 
> ... and the file "/path_to_blacklists/h_from" looks like:
> 
> ...
> [EMAIL PROTECTED] : - locally blacklisted (header) address

Ah,

works fine - thanxx!

-- 
Regards,

     Jens Strohschnitter

-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for 
                 the heart of the sun
-------------------------------------



-- 
## 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