Gre7g Luterman writes:

On Thu, 21 Aug 2003 21:54:52 -0700, Stephen Warren
<[EMAIL PROTECTED]> wrote:


Match = re.search(".*/domains?/([^\./]+\.[^/]+)/", Dict["Home"])

which won't do the right thing in my setup, since I have virtual users in
/var/qmail/popboxes/$domain/$user - a custom vdomain setup based off some
things I found on the web. I'm using the vpopmail stub with a custom
user-info script.

So let's just change the re search to:


Match = re.search(".*/([^\./]+\.[^/]+)/[^/]+/?$", Dict["Home"])

That sure would be a heck of a lot simpler than monkeying with the
stubs.

Ok - that works fine for my setup.


If I wanted to be different and store things in e.g. /var/qmail/popboxes/[EMAIL PROTECTED], that wouldn't work, but I don't want to do that, so I guess I shouldn't care:-)

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

Reply via email to