At 1:25 PM +1000 10/2/03, Wayne Irvine imposed structure on a stream of electrons, yielding:Has anyone managed to hack SIMS code so that any new mail coming in via SMTP is dumped in a different folder before being processed?
No need to 'hack' anything. That's a feature you can set per-account. Autoshare uses it.
duh. I'm kicking myself for not thinking of this sooner.... it may be a way that we can use Robert Woodhead's TOLD (Trebor's Obnoxious Lunchmeat Detector, http://www.madoverlord.com/projects/told.t) content-examining application with SIMS. It's written for EIMS.
I've set up a test bed, and TOLD is doing its part just fine.
The way TOLD works with EIMS is to intercept incoming mail and dump it into a Received Mail folder, from which TOLD grabs it. With SIMS, we can simply set the accounts to be scanned to save mail in a folder only, then make that folder an alias of the Received Mail folder.
Told pulls mail from that folder, analyzes it, adds various x-headers and/or ratings and/or subject prefixes ([SPAM] and [VIRUS]), and dumps it in an Incoming Mail folder.
It's working fine for that part.
Now I just need to figure out how to append the scanned mail to the appropriate account's mail file. I'm sure an applescript could do this fairly easily, but I'm not particularly adept at applescript. Any takers?
You could do that on the back end of delivery by using the folder delivery of SIMS and then having a script deliver from each account folder to a mailbox file. You can fake out SIMS to make it deliver mail for multiple users to a single folder (IF you want to: that adds other complexities) by using aliases.
-- Bill Christensen http://greenbuilder.com/contact/
Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://www.greenbuilder.com/calendar/ Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/
############################################################# This message is sent to you because you are subscribed to the mailing list <[EMAIL PROTECTED]>. To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>
