Hi folks, I'm a newbie to SA and have looked at a few tutorials on writing custom rules, but they all seem to be too simple for what I want to do. That, or I'm not smart enough to figure it out on my own. What I'm needing is some guidance on how to write a custom rule that looks at the creation time in the header, and if its between 8 PM to 7 AM.... score it appropriately. I know that this might make some of you cringe at the thought of it, but I would say that 95% - 99% of all of ham is sent between 8 AM to 6 PM. The only this that really comes through later than that may be some valid newsletters that really don't make a difference. And besides, I'm not talking about scoring it at 999.000, just add maybe .8 or even 1.000. I think it would be a handy little rule if I had the brains to figure it out. Here is the header tag that I need to check, "Date: Wed, 27 Sep 2006 14:17:17 -0400" and I've looked at the date rules built into SA but I can't see how I could possibly create a rule with regex to do what I want. Well... maybe..... let me think on it, if anyone has any ideas, please let me know!
Thanks a bunch! This email and any files transmitted with it are confidential and intended for use only by the individual or entity named above. If you are not the intended recipient or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, dissemination, distribution, copying of this communication, or unauthorized use is strictly prohibited. Please notify us immediately by reply email and then delete this message from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Randolph County Government. This email and any file attachments have been scanned for potential viruses; however, the recipient should check this email for the presence of viruses and/or malicious code. Randolph County accepts no liability for any damage transmitted via this email.