CVS: tmda-cgi/skel/install anomalies,1.2,1.3

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

Modified Files:
	anomalies 
Log Message:
Changed installer/uninstaller to support multiple type of MAIL_TRANSFER_AGENT
in a single install or uninstall skel directory.


Index: anomalies
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/skel/install/anomalies,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- anomalies	21 May 2003 20:24:54 -0000	1.2
+++ anomalies	31 May 2003 17:02:38 -0000	1.3
@@ -10,12 +10,19 @@
 # user.
 VIRTUAL_TEST = "^/home/vpopmail/domains/"
 
-# REAL_ONLY is a list of files which should only be copied if the user logging
-# in is "real" (i.e. VIRTUAL_TEST did not match the user's HOME directory).
-REAL_ONLY = [".qmail", ".qmail-default"]
+# REAL_ONLY is a list of files or a dictionary of lists of files which should
+# only be copied if the user logging in is "real" (i.e. VIRTUAL_TEST did not
+# match the user's HOME directory).
+# The optional dictionary structure of this configuration variable allows you
+# to specify different files based on the mail program you're using.  You can
+# only have one mail program installed, of course, so if you are creating this
+# skel directory by hand, feel free to simply use a list.
+REAL_ONLY = {"qmail": [".qmail", ".qmail-default"]}
 
-# VIRTUAL_ONLY is a list of files which should only be copied if the user 
-# logging in is a virtual user (i.e. VIRTUAL_TEST matched the user's HOME 
-# directory).
+# VIRTUAL_ONLY is the compliment to REAL_ONLY, above.  These files should only
+# be copied if the user logging in is a virtual user (i.e. VIRTUAL_TEST matched
+# the user's HOME directory).
 VIRTUAL_ONLY = \
-  ["%(Parent)s/.qmail-%(User)s", "%(Parent)s/.qmail-%(User)s-default"]
+  {"qmail":
+    ["%(Parent)s/.qmail-%(User)s", "%(Parent)s/.qmail-%(User)s-default"]
+  }

_______________________________________
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.