Re: [exim] request help with nis user lookups

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: montana
CC: exim-users
Sujet: Re: [exim] request help with nis user lookups
On Wed, 31 May 2006, montana@??? wrote:
>
> is there a way i can break down the output of this query into fields
> and populate the needed variables for exim?


You can use ${extract to get the fields out of a passwd line, but you'd be
better off setting up your machine's nsswitch so that the underlying Unix
getpwnam uses NIS and therefore Exim's normal check_local_user stuff
works.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}