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

Reply via email to