Hallo Jacek, Op donderdag 11 oktober 2001, 0:35:51, schreef jij:
JW> I am one of the co-moderators on the list where is a rule JW> that you can send just 1 e-mail a day (to prevent excessive JW> traffic). JW> The question is: Can I somehow automate it with TB!? Yep. Somehow. ;-) JW> The perfect solution would be that TB! sends automatically JW> some notice letter to people who violate list rules (to JW> those who send more than 1 e-mail a day). Piece of cake. You've got to maintain a database with every address that's been used to post on the list on the current day. You've got to check whether a new message is listed in that database, you've got to shoot anybody posting twice or more. Every new day the database needs to be wiped. The last part is the most tricky part. Open your addressbook. Create a new addressbook (a new file). Open the new addressbook. Create a new group (let's call it checklist) in your new addressbook. Close TB and copy your new addressbook to another directory. Create a filter that's triggered by your mailinglist, give it as advanced additional option that the sender has to be in the addressbook in the group checklist. The action has to be that the sender receives an auto-reply. Edit the auto-reply to something like: "You naughty, naughty person, you posted twice this day. %ofromfname is a bad, bad person." (just an example <g>) At the options tab check "continue processing with other filters" What happens is that people in the group checklist receive a "You've posted too much" message. (You've checked them in your database and shot them.) Create another filter that's being triggered by your mailinglist. As action you put the sender in your addressbook in the group 'checklist', you're adding them to your database. This filter has to run later than the checking-filter, because otherwise every first posted message would generate retribution. I don't know whether you want more filters to be triggered on the mailinglist, but in that case this second filter needs the option "continue processing...." Now comes the hard part. Create a batchfile that exits TB. Kills your new addressbook, copies the empty addressbook file to it's old place. And finally starts TB. This batchfile has to run once a day. Use the task scheduler to run the batch-file on a fixed time. This method should work. I didn't test it, but the logic is sound. The only part I checked was the possibility to swap the addressbook files while TB was closed down. Good hunting! -- Groetjes, Roelof -- ______________________________________________________ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]