CVS: tmda-cgi/htdocs autoinstall.ht,1.10,1.11 autoinstall.html,1.10,1.11

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv28840/htdocs

Modified Files:
	autoinstall.ht autoinstall.html 
Log Message:
Fixed a bug that broke virtual user installs if there are many users in a
domain.


Index: autoinstall.ht
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/htdocs/autoinstall.ht,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- autoinstall.ht	13 Jul 2003 18:43:34 -0000	1.10
+++ autoinstall.ht	7 Aug 2003 05:18:21 -0000	1.11
@@ -21,7 +21,8 @@
 &nbsp;&nbsp;&nbsp;<a href="#PERMISSIONS"><tt>PERMISSIONS</tt></a><br>
 &nbsp;&nbsp;&nbsp;<a href="#VIRTUAL_TEST"><tt>VIRTUAL_TEST</tt></a><br>
 &nbsp;&nbsp;&nbsp;<a href="#REAL_ONLY"><tt>REAL_ONLY</tt></a><br>
-&nbsp;&nbsp;&nbsp;<a href="#VIRTUAL_ONLY"><tt>VIRTUAL_ONLY</tt></a><p>
+&nbsp;&nbsp;&nbsp;<a href="#VIRTUAL_ONLY"><tt>VIRTUAL_ONLY</tt></a><br>
+&nbsp;&nbsp;&nbsp;<a href="#PARENT_RE"><tt>PARENT_RE</tt></a><p>
 
 <h3><a name="Skel"></a><tt>skel</tt></h3>
 
@@ -192,6 +193,21 @@
       <tr>
         <td>VIRTUAL_ONLY = {"qmail":
           ["%(Parent)s/.qmail-%(User)s-default"]}</td>
+      </tr>
+    </table>
+</blockquote>
+
+<h4><a name="#PARENT_RE"></a><tt>PARENT_RE</tt></h4>
+<blockquote>
+  <p><tt>PARENT_RE</tt> is a regular expression which tests if we are in the
+    user's "parent" directory.  Finding the parent directory is not as simple
+    as doing a ".." because virtual user systems with many users may stack the
+    domain multiple layers down.  By using this test we can tell when we have
+    removed enough directories.</p>
+  <p>Example:
+    <table class="example">
+      <tr>
+        <td>PARENT_RE = "^" + VPop + "/domains/[^/]+\.[^/]+$"</td>
       </tr>
     </table>
 </blockquote>

Index: autoinstall.html
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/htdocs/autoinstall.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- autoinstall.html	13 Jul 2003 18:43:34 -0000	1.10
+++ autoinstall.html	7 Aug 2003 05:18:21 -0000	1.11
@@ -2,7 +2,7 @@
 <?xml-stylesheet href="display/styles.css" type="text/css"?>
 <html>
 <!-- THIS PAGE IS AUTOMATICALLY GENERATED.  DO NOT EDIT. -->
-<!-- Sun Jul 13 13:27:15 2003 -->
+<!-- Thu Aug  7 00:17:03 2003 -->
 <!-- USING HT2HTML 2.1 -->
 <!-- SEE http://ht2html.sf.net -->
 <!-- User-specified headers:
@@ -114,7 +114,8 @@
 &nbsp;&nbsp;&nbsp;<a href="#PERMISSIONS"><tt>PERMISSIONS</tt></a><br>
 &nbsp;&nbsp;&nbsp;<a href="#VIRTUAL_TEST"><tt>VIRTUAL_TEST</tt></a><br>
 &nbsp;&nbsp;&nbsp;<a href="#REAL_ONLY"><tt>REAL_ONLY</tt></a><br>
-&nbsp;&nbsp;&nbsp;<a href="#VIRTUAL_ONLY"><tt>VIRTUAL_ONLY</tt></a><p>
+&nbsp;&nbsp;&nbsp;<a href="#VIRTUAL_ONLY"><tt>VIRTUAL_ONLY</tt></a><br>
+&nbsp;&nbsp;&nbsp;<a href="#PARENT_RE"><tt>PARENT_RE</tt></a><p>
 
 <h3><a name="Skel"></a><tt>skel</tt></h3>
 
@@ -285,6 +286,21 @@
       <tr>
         <td>VIRTUAL_ONLY = {"qmail":
           ["%(Parent)s/.qmail-%(User)s-default"]}</td>
+      </tr>
+    </table>
+</blockquote>
+
+<h4><a name="#PARENT_RE"></a><tt>PARENT_RE</tt></h4>
+<blockquote>
+  <p><tt>PARENT_RE</tt> is a regular expression which tests if we are in the
+    user's "parent" directory.  Finding the parent directory is not as simple
+    as doing a ".." because virtual user systems with many users may stack the
+    domain multiple layers down.  By using this test we can tell when we have
+    removed enough directories.</p>
+  <p>Example:
+    <table class="example">
+      <tr>
+        <td>PARENT_RE = "^" + VPop + "/domains/[^/]+\.[^/]+$"</td>
       </tr>
     </table>
 </blockquote>

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.