Re: [exim] Blocking names in e-mailaddresses

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Velan
Data:  
A: exim-users
Assumpte: Re: [exim] Blocking names in e-mailaddresses
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. According to the changelog
dates 4.20 is from May 14 2003. Update to a more recent version!

Peter