Bernard Johnson <[EMAIL PROTECTED]> writes:

> If you're running tmda-ofmipd as a single user id, it then lets you do
> things in your config files like look up per user information.
>
> login = string.lower(os.environ['LOGIN'])
> user, domain = login.split('@')
> userdir = os.path.join("/my/path", domain, user)
>
> then a bunch of stuff like:
> CONFIRM_APPEND = os.path.join(userdir, "lists/confirmed")
>
> Or is there a better way?

Isn't the LOGNAME environment variable already available?
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to