Re: [Exim] sender_reject equivalent in Exim4

Top Pagina
Delete this message
Reply to this message
Auteur: Kirill Miazine
Datum:  
Aan: Philip Hazel
CC: exim-users
Onderwerp: Re: [Exim] sender_reject equivalent in Exim4
* Philip Hazel <ph10@???> [20011201 12:21]:
> > 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
>
> 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 : ...


Thanks,

I've found another way:

deny condition = ${if or {{LOOKUP_BAD_SENDER_PARTIAL_DOMAIN} \
                          {LOOKUP_BAD_SENDER_BY_ADDRESS}} {yes} {no}}


And file contains:

*.domain.tld
otherdomain.tld
badsender@???

This mimic partial lookup with sender_reject in Exim 3.

>


--
Kirill