The values for FULLNAME come from (in order of precedence):
The environment variables:
TMDANAME
QMAILNAME
NAME
MAILNAME
Or the name defined for your UID in your systems password file
(finger your username to find out what it's set to)
The values for USERNAME come from (in order of precedence):
The environment variables:
TMDAUSER
QMAILUSER
USER
LOGNAME
Your account username
--- Michael <[EMAIL PROTECTED]> wrote:
>
> > What MTA are you using?
>
> Postfix
Well, I also use Postfix, but I have my delivery going to mbox files
that are separate from the /var/spool/mail/~user files.
But each of my users has their own .tmda/config file.
I'm not certain that it's a good idea to have a single common
/etc/tmdarc file. What would you set the USERNAME and FULLNAME
variables to?
In any case, I have to wonder if you couldn't get away with using the
"os.path.expanduser" function. I'm not a Python guy, but perhaps
something like this...
USERID = os.path.expanduser("~")
DELIVERY = "/var/spool/mail/$USERID"
Or, if this would work...
DELIVERY = "/var/spool/mail/". os.path.expanduser("~")
I'm not sure if either of those would work or not. You could certainly
try it.
Of course, I'll still fall back to my previous statements.
1. A user will be able to override your /etc/tmdarc variables if they
have a matching variable in their own .tmda/config file.
2. You don't want users to share the same crypt-key
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_____________________________________________
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