On Fri, 3 Jan 2003, Thomas Kinghorn wrote:
> Many thanks.
>
> 1 final question. (sorry about this :o$)
>
> Should I create an access list for the search?
Yes, but not like you did in the sample.
> or just add it to my dnslists?
No, it's not a dnslist.
> eg
>
> acl_check_rcpt:
> accept hosts = :
> deny hosts = ${lookup {IPADDR} dbm DEFAULT-EXIM.dbm}
^^^^^^ Doing the deny here, is bad, because noone in the list could
mail to your postmaster-account.
> deny local_parts = ^.*[@%!/|] : ^\\.
>
> accept local_parts = postmaster
> domains = +local_domains
Better do it here.
deny message = ${lookup {$sender_host_address} dbm{blacklist.dbm}}
hosts = dbm;blacklist.dbm
Hint: you need to supply the FULL path to the file.
ciao