Re: [exim] Blocking names in e-mailaddresses

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Velan
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Blocking names in e-mailaddresses
am 2006-03-29 09:56 schrieb Peter Velan:
> am 2006-03-29 09:07 schrieb Jens Strohschnitter:
>>> Have you declared a "acl_smtp_data" section in your config?
>>>
>>> > What should be entered to the /path_to_blacklists/h_from ?
>>> > This should contain a list of names like doctor. For example the mailaddress
>>> >
>>> > "Doctor" blabla@???
>>>
>>> This complete string is not an email address, only the part
>>> "blabla@???" is one. Are you sure, you want to check any part of
>>> header "from:", not only the email address?
>>>
>>> If yes, then don't extract the email address from header, and let
>>> nwildlsearch compare file content against the whole header string:
>>>
>>> set acl_m1 = ${lookup {$h_From:} \
>>>              nwildlsearch{/path_to_blacklists/h_from} }

>>>
>>> > should be blocked. But only if "" contains doctor.
>>> > What do I have to add to the blacklist ?
>>>
>>> doctor : text you want to be reported along with the deny
>>
>> I need the config for 4.20 and 4.30. With 4.20 the command nwildsearch
>> is not supported:
>>
>> unknown lookuptype: "nwildsearch"
>>
>> What should I use for 4.20 ? lsearch only, blocks any incomming mail :-(
>
> Sorry Jens, I entered the EXIM-path with 4.34. I just took a look to the
> main EXIM ftp-server and found EXIM 4.5 - dated Feb 18 2005 - as the
> last version you could get from the server.

^^^^^^^^^^^^
Ooops, I meant: the oldest EXIM fossil you could grab :-)

Peter