Re: [Exim] Supporting saslauthd

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Alexander Sabourenkov
CC: exim-users
Temat: 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.