[Exim] netinfo lookup conf info

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Giuliano Gavazzi
Fecha:  
A: exim-users
Asunto: [Exim] netinfo lookup conf info
and for anyone interested this is a sample lookup (the plain authenticator)

plain:
  driver = plaintext
  public_name = PLAIN
  server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}}\
                          {crypteq{$3}{${lookup netinfo {-t localhost/local /users/$2 passwd 0} {$value}{*}}}}}{1}{0}}"


(it would probably be better { . /users/... } , testing it now)

in general:

${lookup netinfo {[-t] [-T <timeout>] <domain> <path> <prop-key> <index>} {$value}{$errorvalue}}

for more detail either 'man niutil' or just type 'niutil -readval'.

Giuliano
--
H U M P H
|| |||
software

Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/