On Fri, 30 Nov 2001, Kirill Miazine wrote:
> Another Exim4 question (which seems to be running OK now). Following
> worked nice in Exim3:
>
> sender_reject_recipients = partial-cdb;/etc/exim/cdb/sender_reject.cdb
>
> This wont (according to the docs) work with Exim4. So how do I bypass
> that? I want to specify *.domain.tld to block mail from all addresses in
> all hostnames under domain.tld.
In the ACL for RCPT, put
deny senders = @@partial-cdb;/etc/exim/cdb/sender_reject.cdb
And construct the data for the cdb file like this:
*.domain.tld: *
*.otherdomain.tld: badlocalpart1 : badlocalpart2 : ...
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.