Re: [exim] checking a local user against a list

Top Page
Delete this message
Reply to this message
Author: Steev Hise
Date:  
To: Tony Finch
CC: exim-users
Subject: Re: [exim] checking a local user against a list
on Tue, 1 Feb 2005 Tony Finch told me:

->  require
->    verify    = recipient
->    condition = ${lookup  {$address_data} \
->                  lsearch {/etc/mail/not-these-users} \
->                    {no} {yes} }


ok this gets me almost there. but, sorry to be so dense, but i
don't understand what the {no} and the {yes} are for. i can't
find in the docs anywhere an explanation of that.

is this assuming the files looks like

jim: no
user2: no
user3: yes

??

what if i just want the file to be a list of names and if the
recipeient is in that list, the condition is true?

jim
user2
user3

thanx,

smh