Re: [Exim] sender_reject equivalent in Exim4

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Kirill Miazine
CC: exim-users
題目: Re: [Exim] sender_reject equivalent in Exim4
On Sun, 2 Dec 2001, Kirill Miazine wrote:

> > 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@???


There is another way as well. I forgot about this...

deny senders = cdb;/etc/cdb/sender_reject.cdb
deny senders = *@partial-cdb;/etc/exim/cdb/sender_reject.cdb

This basically does the same as yours.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.