SF.net SVN: tmda: [2180] branches/tmda-cgi-0.16/stubs
[email protected] Thu, 29 Mar 2007 09:34:10 -0700
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 2180
http://svn.sourceforge.net/tmda/?rev=2180&view=rev
Author: lack
Date: 2007-03-29 09:34:09 -0700 (Thu, 29 Mar 2007)
Log Message:
-----------
Merge in from TRUNK
Modified Paths:
--------------
branches/tmda-cgi-0.16/stubs/ChangeLog
branches/tmda-cgi-0.16/stubs/vmailmgr1.py
Modified: branches/tmda-cgi-0.16/stubs/ChangeLog
===================================================================
--- branches/tmda-cgi-0.16/stubs/ChangeLog 2007-03-29 16:18:27 UTC (rev 2179)
+++ branches/tmda-cgi-0.16/stubs/ChangeLog 2007-03-29 16:34:09 UTC (rev 2180)
@@ -1,3 +1,15 @@
+2007-02-23 Stephen Warren <[email protected]>
+
+ * Modified vmailmgr1 stub to allow the home-directory field to contain
+ colon characters.
+
+ It appears that vmailmgr automatically converts any "." in the user
+ part of an email address to a ":" when creating the user's home
+ directory.
+
+ Report from, and patch testing by:
+ "Dennis Kavadas <[email protected]>"
+
2004-02-01 Jim Ramsay <[email protected]>
* Added vmailmgr1 stub.
Modified: branches/tmda-cgi-0.16/stubs/vmailmgr1.py
===================================================================
--- branches/tmda-cgi-0.16/stubs/vmailmgr1.py 2007-03-29 16:18:27 UTC (rev 2179)
+++ branches/tmda-cgi-0.16/stubs/vmailmgr1.py 2007-03-29 16:34:09 UTC (rev 2180)
@@ -25,7 +25,7 @@
for Line in List:
Parts = Line.split(":")
if (Parts[0] == User):
- return Parts[1], Parts[2], Parts[3]
+ return ':'.join(Parts[1:-2]), Parts[-2], Parts[-1]
# User does not exist
raise KeyError
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.