Re: [exim] Exim acl issue - removing additional recpient add…

Pàgina inicial
Delete this message
Reply to this message
Autor: Edgar Lovecraft
Data:  
A: 'exim-users@exim.org'
Assumpte: Re: [exim] Exim acl issue - removing additional recpient addresses
Bjurstrom, Eric wrote:
>
> > I am trying to set up a pair of exim relays to drop additional
> > addresses from the recipient list if a particular address is present.
> > For example, address1@??? is the address I want to go through
> > by itself. If an email is set to address1@???,
> > address2@??? and address3@???, then address2 and
> > address3 are silently dropped and address1 is relayed normally. If
> > address1 isn't present, then business as usual and address2 and
> > address3 will be delivered normally and not dropped.
> >
> > I tried doing this with a variety of different acl's and have had no
> > success. Anybody out there do something similar or possibly know
> > how to accomplish this?


Use selective deferes during the RCPT acl.

accept condition  = ${if eqi{address1}{address1}{1}{0}}
     set acl_m0 = address1
###
### We can defer here any other user as we already accepted address1
###
defer condition   = ${if eqi{$acl_m0}{address1}{1}{0}}


--

--EAL--

--