On Mon, 27 Jun 2005, reef wrote:
> Thanks for the reply.. I will give this a try next week.. But I am curious
> if it is possible to do something as simple as having a text file of email
> addresses to reject?
Sure. Several possible ways of dealing with it.
(1) Directly in an ACL for RCPT:
deny recipients = /the/file
(2) Use verify in the ACL
deny !verify = recipient
and ensure the verify fails by setting up this router
fail_router:
driver = redirect
allow_fail
data = ${lookup{$local_part@$domain}lsearch{/the/file}\
{:fail:Unknown address}}
No doubt there are other ways as well.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book