Re: [Exim] Supporting saslauthd

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Alexander Sabourenkov
CC: exim-users
題目: 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.