Re: [Exim] Supporting saslauthd

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Alexander Sabourenkov
Υ/ο: 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.