It might be better to create a global config file and define global FILTER_INCOMING and FILTER_OUTGOING vars (warning this is untested) e.g.:
In /etc/tmdarc define FILTER_INCOMING = "/home/tmda/filters/incoming" FILTER_OUTGOING = "/home/tmda/filters/outgoing" USER_FILTER_INCOMING = os.path.expanduser("~/.tmda/filters/incoming") USER_FILTER_OUTGOING = os.path.expanduser("~/.tmda/filters/outgoing") And if you want you can set the append vars in the global config as well to append to the global files (checking the file ownership of course): CONFIRM_APPEND = "/home/lists/confirmed" PENDING_WHITELIST_APPEND = "/home/lists/whitelist" PENDING_BLACKLIST_APPEND = "/home/lists/blacklist" Then in those two filter files /home/tmda/filters/incoming from-file /home/tmda/confirmed ok from-file /home/tmda/whitelist ok from-file /home/tmda/blacklist drop include -optional $(USER_FILTER_INCOMING) <optional post user global actions> /home/tmda/filters/incoming <optional pre user global actions> include -optional $(USER_FILTER_OUTGOING) <optional post user global actions> The only problem with this setup is that if a user realizes what is going on, they can override the FILTER_xxx vars in their .tmda/config file. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mark Horn > Sent: Wednesday, October 20, 2004 4:04 PM > To: Nate Sanders > Cc: [EMAIL PROTECTED] > Subject: Re: Global lists > > You have to also add the following to the incoming filter of > every user who > uses TMDA: > > from-file /home/tmda/confirmed ok > from-file /home/tmda/whitelist ok > from-file /home/tmda/blacklist drop > > Cheers, > - Mark > > On Wed, Oct 20, 2004 at 05:54:41PM -0500, Nate Sanders wrote: > > It half works. It will confirm my email and append it to > > /home/tmda/confirmed. But then if I email again, it tells > me to confirm > > a second time. > > > > Any idea why? > > > > On Oct 20, 2004, at 5:51 PM, Nate Sanders wrote: > > > > >If I wanted all my users to share a common whitelist, blacklist, > > >confirmed, would this work? > > > > > >.tmda/conf: > > >CONFIRM_APPEND = "/home/tmda/confirmed" > > >PENDING_BLACKLIST_APPEND = "/home/tmda/blacklist" > > >PENDING_WHITELIST_APPEND = "/home/tmda/whitelist" > > > > > >[EMAIL PROTECTED] ~]$ ls -l /home/tmda/whitelist > > >-rwxrwxrwx 1 root root 6689 Oct 20 12:27 > > >/home/tmda/whitelist > > > > > >[EMAIL PROTECTED] ~]$ ls -l /home/tmda/blacklist > > >-rwxrwxrwx 1 root root 12848 Oct 20 12:33 > > >/home/tmda/blacklist > > > > > >[EMAIL PROTECTED] ~]$ ls -l /home/tmda/confirmed > > >-rwxrwxrwx 1 root root 875 Oct 20 17:42 > > >/home/tmda/confirmed > > > > > >I'm testing it right now, and it does seem to work. But I > wanted to > > >know if there was a better way to do it? > _____________________________________________ > 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