|
How do I get the config file in tmda-cgi to get the data of the users
real name from vuserinfo correctly? When I have the following line in the skel/install/.tmda/config
I get None as the persons name. FULLNAME = “%(Name)s” In the config file I need the
users name to come from vuserinfo –c . For example, to get the users FULLNAME correctly I need to
do something like so…. USERNAME = "%(User)[EMAIL PROTECTED](Domain)s" cmd = "/usr/local/vpopmail/bin/vuserinfo -c %USERNAME" cmdfp = os.popen(cmd) name = cmdfp.read().strip() if cmdfp.close() is None: FULLNAME = name But I cannot get the above to execute from the skel files correctly (if I put the above in tmda-cgi/skel/install/.tmda/config). Thanks! |
- Re: vuserinfo %(Name)s Variable Samuel Hill
- Re: vuserinfo %(Name)s Variable Gre7g Luterman
- Re: Re: vuserinfo %(Name)s Variable Samuel Hill
- Re: vuserinfo %(Name)s Variable Gre7g Luterman
- Re: vuserinfo %(Name)s Variable Samuel Hill
- Re: vuserinfo %(Name)s Variable Gre7g Luterman
- Re: vuserinfo %(Name)s Variable Samuel Hill
