Stubs for vmail / postfixadmin

Emmanuel Doguet <[email protected]> Fri, 22 May 2009 11:16:54 +0200
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
	 Hello to all,

I don't know  python and my problem with TMDA is the stub.

My system:

- Postfix run with single User. (postfixadmin)
- My User directory is like: 

	/home/vmail/toto.com/mymail/


So I have made this stub ... but it not seem to work. :
-----------------------------------------------------------------
def getuserparams(List):
  Dict = {}
  Proximity = -1
  for Line in List:
    Parts = Line[1:].split("@")
    return "/home/vmail/" + Parts[1] + "/" + Parts[0],  0, 0, ""

  # User does not exist
  raise KeyError
-----------------------------------------------------------------

Someone can tell me what is wrong ?  And how I  can validate and testing 
stubs ?

	Best regards.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users