I am successfully having all of my (small number of) users share the same
configuration.

All users share the same whitelist, blacklist, and confirmed files.

each user has their own
 .tmda/crypt_key
 .tmda/logs/
 .tmda/pending/
 .tmda/responses/

Thanks to David for explaining how to get the user name to map the
DELIVERY variable to the individual mbox files in /var/spool/mail


Michael


[EMAIL PROTECTED] tmda]$ cat /etc/tmdarc
# -*- python -*-

MAIL_TRANSFER_AGENT = "postfix"
RECIPIENT_DELIMITER = "-"

#shared
CONFIRM_APPEND = "/usr/share/tmda/lists/confirmed"
FILTER_INCOMING = "/usr/share/tmda/filters/incoming"
FILTER_OUTGOING = "/usr/share/tmda/filters/outgoing"

# user specific stuff
DELIVERY = "/var/spool/mail/" + os.environ['USER']
LOGFILE_DEBUG = os.path.expanduser("~/.tmda/logs/debug")
LOGFILE_INCOMING = os.path.expanduser("~/.tmda/logs/incoming")
LOGFILE_OUTGOING = os.path.expanduser("~/.tmda/logs/outgoing")

[EMAIL PROTECTED] tmda]$ cat /usr/share/tmda/filters/incoming
from-file /usr/share/tmda/lists/confirmed ok
from-file /usr/share/tmda/lists/whitelist ok
from-file /usr/share/tmda/lists/blacklist bounce

[EMAIL PROTECTED] tmda]$

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

Reply via email to