CVS: tmda/TMDA ChangeLog,1.271,1.272 Defaults.py,1.179,1.180

"Jason R. Mastaler" <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda/TMDA
In directory sc8-pr-cvs1:/tmp/cvs-serv3124/TMDA

Modified Files:
	ChangeLog Defaults.py 
Log Message:
The new style confirm_accept_url is much longer than the original
format in order to support "virtual users", so it makes sense to
only use the longer format when we are in fact dealing with
virtual users.

CGI_VIRTUALUSER (off by default) toggles whether the extended
format is used or not.  It's possible this variable may be used
for other things in the future.  The user or administrator
should set this to 1 if she intends to use tmda-cgi with
virtual users.


Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/ChangeLog,v
retrieving revision 1.271
retrieving revision 1.272
diff -u -r1.271 -r1.272
--- ChangeLog	25 May 2003 02:09:20 -0000	1.271
+++ ChangeLog	25 May 2003 05:14:21 -0000	1.272
@@ -1,3 +1,7 @@
+2003-05-24  Jason R. Mastaler  <[email protected]>
+
+	* Defaults.py (CGI_VIRTUALUSER): New variable.
+
 2003-05-24  Tim Legant  <[email protected]>
 
 	* MTA.py (MTA.getvdomainprepend): Removed function.

Index: Defaults.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Defaults.py,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -r1.179 -r1.180
--- Defaults.py	25 May 2003 02:21:20 -0000	1.179
+++ Defaults.py	25 May 2003 05:14:21 -0000	1.180
@@ -430,6 +430,14 @@
 if not vars().has_key('CGI_URL'):
     CGI_URL = None
 
+# CGI_VIRTUALUSER
+# Set this variable to 1 if you wish to enable tmda-cgi's "virtual
+# user" support (http://tmda.net/tmda-cgi/virtual.html).
+#
+# Default is 0 (disabled)
+if not vars().has_key('CGI_VIRTUALUSER'):
+    CGI_VIRTUALUSER = 0
+
 # CONFIRM_ADDRESS
 # An optional e-mail address to use for creating confirmation
 # addresses.  Normally, the recipient address is used, but in some

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