Hello,
 
 I have followed the excellent advice supplied by [Bob [EMAIL PROTECTED]] in his TMDA, TMDA-CGI and Postfix - WORKS! post but I am having a few troubles with the auto-install for users option. I am using a slightly different config than Bob's as I am using Postfix without procmail. If anybody could please give me some advice it would be greatly appreicated.
I have edited my anomalies file to look like the following:
 
# PERMISSIONS is a dictionary of filenames and what octal permissions should be
# assigned to them.
PERMISSIONS = {".tmda/crypt_key": 0600}
 
# VIRT_TEST is a regular _expression_ test which can be applied to a user's HOME
# directory.  If the test matches, then the user is assumed to be a virtual
# user.
VIRTUAL_TEST = "^" + VPop
 
REAL_ONLY = [".forward", ".tmdarc"]
 
VIRTUAL_ONLY = \
#  {"qmail":
#    ["%(Parent)s/.qmail-%(qUser)s", "%(Parent)s/.qmail-%(qUser)s-default"]
#  }
 
# PARENT_RE is a regular _expression_ used to verify that we have a valid parent
# directory.  If invalid, try ascending again until we run out of directories
# or match.
PARENT_RE = "^" + VPop + "/domains/[^/]+\.[^/]+$"
 
When I click on sign me up I get the following error:
 
SyntaxError
Cause: invalid syntax (anomalies, line 26)
Additional: Running in system-wide mode.
Attempted to read anomalies with euid 500, egid 500.
anomalies file skel/install/anomalies, permissions 777


 Line 26 points to the line bellow VIRTUAL_ONLY= /  If I # this area out I get python errors when I try and run it.
 If anybody could please point me the right direction it would be great !!!! Thanks for your time.
 
Kind Regards
 
Sylvan
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to