Re: [exim] discard mail from all local users except

Página Inicial
Delete this message
Reply to this message
Autor: Victor Sudakov
Data:  
Para: exim-users
Assunto: Re: [exim] discard mail from all local users except
Evgeniy Berdnikov via Exim-users wrote:
> On Mon, May 31, 2021 at 03:59:57PM +0700, Victor Sudakov via Exim-users wrote:
> > PS in olden times, I think I could write something like
> >
> > acl_not_smtp:
> >      accept condition           = ${lookup{$authenticated_sender}lsearch{/etc/mail/whitelist.local}}
> >      discard message

> >
> > and it used to work.
>
> It's very simple and does not require boolean convertions:
>
> condition = ${lookup {<key>} lsearch {<file>}{yes}{no}}


Oh. Was it just "{yes}{no}" I was missing from the "old school" condition above?

--
Victor Sudakov VAS4-RIPE
http://vas.tomsk.ru/
2:5005/49@fidonet