Ah, he forgot to add the email addresses of the HR department to the Spam list. Terminal error!
Regards, Sander Van Butzelaar -----Original Message----- From: Ed Crowley [mailto:[EMAIL PROTECTED]] Sent: 23 January 2003 07:22 To: Exchange Discussions Subject: RE: Using script to get header info That's a fine way to fight Spam if you're interested in job security. Or maybe not. At a previous customer, there was a guy whose job it was to take Spam complaints and add the sending domain to the block list. While I was on the project there, he was laid off. Ed Crowley MCSE+I MVP Technical Consultant hp Services "There are seldom good technological solutions to behavioral problems." -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Mike Sent: Wednesday, January 22, 2003 2:03 PM To: Exchange Discussions Subject: Using script to get header info Hi folks, I created a public folder and asked several of our users to move their spam into it. From there, I can open the messages, view the headers, pluck the IP addresses of the offending mail servers, and add them to our internal dns blacklist. Works like a charm, but it's very labor-intensive. I wrote some vbscript code that examines all the messages in the folder, and returns things like Sender, Subject, etc., all of which are basically useless to me in this case, but the practice was good. There doesn't seem to be any property that will return the header info, no? I don't have a good reference book handy, but searching through the online MSDN library was helpful. Now it looks like maybe ADO/CDOEX might be the way to go. Does anyone have any sample code that might give me some pointers? This doesn't have to be fandy or polished. If I can retrieve the headers, I can parse through them and find the right "received by" line, and pull the address from that line and output it to the screen. I'd greatly appreciate any pointers at all, be it a web page, KB article, book, etc. Thanks, Mike _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED]