On 11/4/03 7:37 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Date: Tue, 04 Nov 2003 06:22:57 -0700 > From: "Jason R. Mastaler" <[EMAIL PROTECTED]> > Subject: Re: /etc/tmdarc > To: [EMAIL PROTECTED] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > "F. Even" <[EMAIL PROTECTED]> writes: > >> I currently do not have an /etc/tmdarc. > > /etc/tmdarc is not required. What about for tmda-cgi? I for the life of me can't get it working, and I have not the foggiest clue what is wrong with it.....aside from maybe I'm not defining some things in /etc/tmdarc that it might need. >> Before I just start dumping some parameters in an /etc/tmdarc >> file....what should this file contain? > > The same things as ~/.tmda/config. See > http://tmda.net/config-vars.html > > Values in /etc/tmdarc will be applied to every TMDA user on the > system. Can I put values such as these: CONFIRM_APPEND = os.path.expanduser("~/.tmda/lists/confirmed") LOGFILE_DEBUG = os.path.expanduser("~/.tmda/logs/debug") LOGFILE_INCOMING = os.path.expanduser("~/.tmda/logs/incoming") LOGFILE_OUTGOING = os.path.expanduser("~/.tmda/logs/outgoing") ...into the tmdarc and have them apply correctly? Is there any way I can have /etc/tmdarc point to both a global configuration and a user configuration? Would something like DELIVERY = /var/mail/$USER work? It is just that I'm looking at this: [EMAIL PROTECTED]:/opt/tmda-cgi/skel/install/.tmda] more config CGI_VIRTUALUSER = %(VirtUser)d CRYPT_KEY_FILE = "%(Home)s/.tmda/crypt_key" CONFIRM_ADDRESS = "%(User)[EMAIL PROTECTED](Domain)s" CONFIRM_APPEND = "%(Home)s/.tmda/lists/confirmed" DATADIR = "%(Home)s/.tmda/" FILTER_INCOMING = "%(Home)s/.tmda/filters/incoming" FILTER_OUTGOING = "%(Home)s/.tmda/filters/outgoing" FULLNAME = %(Name)s LOGFILE_DEBUG = "%(RealHome)s/tmdadebug.log" LOGFILE_INCOMING = "%(RealHome)s/tmdaincoming.log" LOGFILE_OUTGOING = "%(RealHome)s/tmdaincoming.log" ADDED_HEADERS_CLIENT = {"X-Primary-Address": "%(User)[EMAIL PROTECTED](Domain)s"} PENDING_BLACKLIST_APPEND = "%(Home)s/.tmda/lists/blacklist" PENDING_WHITELIST_APPEND = "%(Home)s/.tmda/lists/whitelist" TEMPLATE_DIR = "%(Home)s/.tmda/templates/" ...and wondering if I should just set this up as my /etc/tmdarc. But then I wonder, if I setup globals for a lot of this stuff.....would I leave the above as it is....or? It would be nice to see a few more example setups out there to work from. Thanks, Frank _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
