[Exim] netinfo lookup conf info

Pàgina inicial
Delete this message
Reply to this message
Autor: Giuliano Gavazzi
Data:  
A: exim-users
Assumpte: [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/