I did this in both .12 and .13 in anomolies ...
PARENT_RE = "^" + VPop + "/domains/[^/]+\.[^/]+$"

For some reason it is being ignored in .13 or not working.

Sam

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Chris A. Kalin
Sent: Friday, March 19, 2004 12:31 PM
To: [EMAIL PROTECTED]
Subject: Re: TMDA-cgi 0.13 "Aluminim" Re-Release + Another Problem


Jim Ramsay wrote:
> Samuel Hill wrote:
> 
>> The patch below is actually a problem too.
>> We have so many users per virtual domain that it would end up like 
>> this... /var/qmail/vpopmail/domains/domain.com/1/3/crapper
>>
>> To deal with many users they get stacked that way.
> 
> 
> Okay.
> 
> Go to line 663 in Install.py, and replace the existing regular
> expression with:
> 
> ".*/([^\./]+\.[^/]+)/([^/]+/)*[^/]+/?$"
> 
> This will match:
> 
> /any/number/of/directories/domain.com/any/number/of/directories/user
> 
> Please note that this will only work if _exactly just the domain_ has 
> a
> dot in it.  Every other directory name in the path must *not* have a
dot 
> in it.
> 
> This Regular Expression above will now be in 0.14, unless someone else
> wants it to be more clever.
> 

What about what I used to make 0.12 work:

PARENT_RE = "^" + VPop + "/domains/[\d\/]*[^/]+\.[^/]+$"

Since domains is usually under the Vpop directory, you can just work 
your way down from there.

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to