Re: [Exim] ACL's for rejecting senders

Pàgina inicial
Delete this message
Reply to this message
Autor: Paul Mills
Data:  
A: exim-users
CC: masta
Assumpte: Re: [Exim] ACL's for rejecting senders
On Wed, 2003-02-26 at 14:35, Paul Mills wrote:
> On Wed, 2003-02-26 at 14:21, Nico Erfurth wrote:
> > Paul Mills wrote:
> >
> > > # Banned Domains
> > > domainlist  domain_reject     =  dbm;/etc/exim/acls/banned_domains.db

> > >
> > > deny     sender_domains =  +domain_reject
> > >          message        =  Your domain is no longer supported

> > >
> > > The above works for the domains, but what is the best way to reject the
> > > sender depending on full email address?
> >
> > deny message = You are blacklisted
> >       senders = dbm;/etc/exim/acls/banned_senders.db
> senders is not recognised!

>
> Shutting down Exim:                                        [FAILED]
> Starting Exim: 2003-02-26 14:35:06 Exim configuration error in line 336:
>   error in ACL: unknown ACL condition/modifier in "            senders =
> dbm;/etc/exim/acls/banned_senders.db"
>                                                            [FAILED]

>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##


I think I have sorted it now with the following

addresslist denyenvsenders = dbm;/etc/exim/acls/banned_senders.db

deny     message        =  You are blacklisted
         senders        =  +denyenvsenders


Thanks

--
Paul Mills <paulm@???>
Senior Linux Systems Administrator
(Red Hat Certified Engineer)
Canterbury Christ Church University College
North Holmes Road
Canterbury
Kent
United Kingdom
CT1 1QU
Tel.: 01227 782751