Re: [Exim] Supporting saslauthd

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Alexander Sabourenkov
Cc: exim-users
Asunto: Re: [Exim] Supporting saslauthd
On Mon, 28 Apr 2003, Alexander Sabourenkov wrote:

> Therefore I would like something along the lines of
>
> ${if saslauthd{{<username>}{<password>}[{<servicename>}[{<realm>}]]}{1}{0}}
>
> instead of (current)
>
> ${if saslauthd{<username>:<password>[:<servicename>[:<realm>]]}{1}{0}}


I agree that that is better.

> Philip, is this possible?


It should be straightforward to code that in expand.c. There are other
expansion items that have optional arguments. Check out the read_subs()
function in expand.c; it handles a mixture of mandatory and optional
arguments.

Philip

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.