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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Steev Hise
Fecha:  
A: Tony Finch
Cc: exim-users
Asunto: 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