Re: [exim] Blocking names in e-mailaddresses

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jens Strohschnitter
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Blocking names in e-mailaddresses
> > okay. I have upgraded my 4.20 on a testmachine to 4.60. So nwildlsearch
> > works. But a message via other users than the blocked ones that contained
> > in my blacklist were also blocked. Any mail I sent to the host, from different
> > users were blocked.
> >
> > My exim.conf-entry looks like:
> > acl_smtp_data = acl_check_data
> > .
> > .
> > .
> > acl_check_data:
> >
> > deny    message = $acl_m1 "${address:$h_From:}"
> >         set acl_m1 = ${lookup {${address:$h_From:}} nwildlsearch{/tmp/blacklist}}
> >         condition = ${if eq {$acl_m1} {} {no} {yes} }

> >
> >
> > The log reports:
> > 2006-03-29 17:21:37 1FOcUL-0000tn-KP H=XXXXX (XXXXXX) [1.1.1.1] F=<sender@???> rejected after DATA
>
> $h_From: contains the full header-line,
>    e.g.: "From: support blabla <exim-ml@???>"

>
> ${address:$h_From:} contains the extracted e-mail address
>    e.g.: "exim-ml@???"

>
> if you want to filter out the word "support" from the variable $h_From:,
> then you should not use the address extractor "${address:$h_From:}"
>
> Write your config stanza as:
>
> deny message = $acl_m1
>    set acl_m1 = ${lookup {$h_From:} nwildlsearch{/tmp/blacklist} }
>    condition = ${if eq {$acl_m1} {} {no} {yes} }


Hi again,

sorry, but still there will be blocked any incoming mailaddress.
I have tried to set the acl in exim.conf to another place in the
acl-section (now at last, before at first) but nothing happens.

Also an empty blacklist blocks any address.


--
Regards,

     Jens Strohschnitter


-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*

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