Marcelo Gonçalves Narciso wrote:
Hi, people,I would like to know how I can set DELIVERY. I need that DELIVERY = "/var/mail/XXX", Where XXX is the user that is using TMDA. XXX is equal $USER? If it is not equal $USER or $USERNAME, what is the answer?
I assume you're using system users (all mail recipients are defined in /etc/passwd). If so, then $USER seems to be and environment variable that you can use, under Linux at least...
Recall that /etc/tmdarc is a Python file, so you can use any Python expressions to calculate variables e.g.:
DELIVER = "/var/mail/" + os.environ['USER'] -- Stephen Warren, Software Engineer, NVIDIA, Fort Collins, CO [EMAIL PROTECTED] http://www.wwwdotorg.org/pgp.html
signature.asc
Description: OpenPGP digital signature
_____________________________________________ tmda-users mailing list ([email protected]) http://tmda.net/lists/listinfo/tmda-users
