[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pysieved] New commit adds htpasswd module, more virtual module options



On Thursday 19 Apr 2007, Koen Vermeer wrote:
> As far as I'm concerned: that might be overkill. Just splitting the
> login name into a username and domain, and being able to use that
> would suffice for me.
>

This is already there - that's the patch that Neale has already applied. 
I'm using such a setup myself (splitting on "@").

> Some other setups may also need something like the first letter of
> the username (/somepath/domain/j/johndoe/). Finally, there may be a
> need for case conversion.
>

Yes... I think that's going to be better with regex as the varieties 
could be infinite - some sites might want the first two letters, or 
first three...

Hope that helps,
David

> Koen



-- 
"For I am not ashamed of the gospel of Christ: for it is the power of 
God unto salvation to every one that believes; to the Jew first, and 
also to the Greek." - Romans 1:16