am 2006-03-29 13:20 schrieb Jens Strohschnitter:
>> >>> > 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" [EMAIL PROTECTED]
>> >>> 
>> >>> This complete string is not an email address, only the part
>> >>> "[EMAIL PROTECTED]" 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.
> 
> is there no chance to get it work with 4.20 ? We have running
> round about 120 linux-servers with exim 4.20. An upgrade is
> very difficult ;-)

For sure, there is a way! You have to study the documentation supplied
with your EXIM variant and adapt the ACL to use the lookup type which is
supported by your EXIM version.

Greetings,
Peter

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