As far as the clearing the spambox goes, IMail includes a program that can clear old mail, unfortunately it clears all mailboxes found in a directory recursively. I have looked into writing a utility to do the same but be direct able at individual .mbx files, but the problem comes from the two supporting files, .srt and .uid. They both are in a binary format, while the .srt file is very simple, and seems pretty unnecessary unless the box is sorted differently than the default, the .uid file is more complicated. It has a 32 byte header record, and 32 byte records for each message, that appear to be broken into 4 byte fields. I know it stores the message number, the message read bit, and some other indexes that I have yet to find a pattern other than they grow as you go higher in the message count, and the header record hold the highest message number and the next number for some of the indices. IMail will rebuild the whole thing if deleted, but all messages return to unread. The simplest way to truncate is to delete the old messages from the .mbx file, and blow away the .srt and .uid files.
If anyone feels like tackling the management of the .srt and .uid files to make a proper aged delete, maybe even with a size or message count limit option, I'm sure others would appreciate it, I just don't have the time to build the needed expertise. VBScript would take way too long to process several thousand mail accounts. Sorry for the long reply. :) Chuck Frolick ArgoNet, Inc. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Burzin Sumariwalla Sent: Tuesday, October 01, 2002 3:29 PM To: [EMAIL PROTECTED] Subject: [Declude.JunkMail] H:Best Practices for Handling Spam Dear List Members, Among many other things, I'm the email administrator for St. Louis County Library. Like many other organizations, spam/UCE is a bane, but as an information agency we're also very sensitive about filtering. I'd like to hear how other folks in information type agencies are handling spam. With Junkmail Pro, I can dump spam into the %imail username%/SPAM.mbx, but is there a way to setup an automated script to clear messages from the spambox that are older than say 30 days? I'd appreciate any thoughts or suggestions. Burzin ------ Burzin Sumariwalla Phone: (314) 994-9411 x291 [EMAIL PROTECTED] Fax: (314) 997-7602 Pager: (314) 407-3345 Networking and Telecommunications Manager Information Technology Services St. Louis County Library District 1640 S. Lindbergh Blvd. St. Louis, MO 63131 --- [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.
