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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Steev Hise
Datum:  
To: Tony Finch
CC: exim-users
Betreff: 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