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?

----- Original Message ----- 
From: "Jason R. Mastaler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 28, 2003 12:22 PM
Subject: Re: tmda-ofmipd patch to get LOGIN information into environment


> Bernard Johnson <[EMAIL PROTECTED]> writes:
>
> > This is useful to have available to the config files.
>
> Why is it useful?
> _________________________________________________
> tmda-workers mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-workers

_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to