I'd prefer to place as few customized TMDA config entries into new users'
config files as possible. For example, I'd rather not have to create
customized config files with the text:
ADDED_HEADERS_CLIENT={"X-Primary-Address":"<user>@domain.com"}
where <user> is different for each user on the server.
What should I write in the /etc/tmdarc file to make sure that the username
is automatically filled in, if at all possible?
I have no knowledge about the Python language, so I'm kind of in the dark.
I tried with:
ADDED_HEADERS_CLIENT={ "X-Primary-Address":"[EMAIL PROTECTED]" %
os.environment.get("USER") }
but when I sent myself a test email using ofmipd, the username was "None"
rather than my own username. Can anyone help me out?
Thanks,
- wolf -
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users