What I have done is create a set of base files as such: GlobalHeader.txt GlobalTests.txt JMFilterActions.txt JMDNSActions.txt JMExternal.txt JMWeights.txt When I need to add a test or make a global change, I change the appropriate base file
Then, I have a script that adds the appropriate files together to create/overwrite the global.cfg, $default$.junkmail and any per user or per domain files. Any user or domain needing special treatment, I create a special base file for the needed section and put it in the domain folder. I then make the needed lines in the batch file. Now, when something changes, I just change the needed base file, then run the script. John Tolmachoff Engineer/Consultant/Owner eServices For You > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:Declude.JunkMail- > [EMAIL PROTECTED] On Behalf Of Goran Jovanovic > Sent: Monday, April 19, 2004 9:48 PM > To: [EMAIL PROTECTED] > Subject: [Declude.JunkMail] Per-Domain Config > > Scott, > > I am starting to see a maintenance issue with the way I am doing things. > I want to have per-domain config files primarily so that I can white and > black list separately. > > Now when I setup a new test I have to go in through each domain's > $default$.junkmail file and add the test with the action. Is it possible > to have the per-domain file's simply add tests that the GLOBAL.CFG file > does not specify in the incoming or outgoing section? In this way I > would put all the tests in the two GLOBAL.CFG sections and then I would > add to the per-domain files something like > > WHITELISTFILE d:\imail\declude\lanshop.com\whitelist.txt > BL-LANSHOP DELETE > > Not sure if this has been asked before or if I am just doing things the > hard way. > > > Goran Jovanovic > The LAN Shoppe > > --- > [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] > > --- > This E-mail came from the Declude.JunkMail mailing list. To > unsubscribe, just send an E-mail to [EMAIL PROTECTED], and > type "unsubscribe Declude.JunkMail". The archives can be found > at http://www.mail-archive.com. --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
