Michael,

The config file is just a Python script, so you could try using this:

DELIVERY = "/var/spool/mail/" + os.environ['USER']

To get append the value of the os environment variable USER to the rest of
your delivery string.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Michael
Sent: Wednesday, March 16, 2005 7:02 AM
To: [email protected]
Subject: Re: Shared .tmda/config file?

>> To do this I need to do something like the following:
>>
>> DELIVERY = "/var/spool/mail/${USER}"
>>
>>
>> Unfortunately, this does not work properly.
>>
>> Q: Any way to accomplish this?
>
> I think you can put all the configurations that you want to be shared by
> all users in /etc/tmdarc.

That will share the file, but the DELIVERY file will not be customized on
a per-user basis ...

The problem is that I need my DELIVERY file to be specific to the user
name ...

>> DELIVERY = "/var/spool/mail/${USER}"

... this is what I want to do, but it does not work.

Any ideas?

Michael


_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to