Re: [SAtalk] [RD] Creating rule for time accepted

2003-08-05 Thread alan premselaar
On 8/5/03 8:59 AM, "Ernest W. Lessenger" <[EMAIL PROTECTED]> wrote: [...] > ** Append to EvalTests.pm > sub received_between { > my ($self, $min, $max) = @_; here you're using $min as an argument passed to the function. > local ($_); > my ($sec,$min,$hour,$mday,$mo

RE: [SAtalk] [RD] Creating rule for time accepted

2003-08-04 Thread Ernest W. Lessenger
I wrote a quick eval function that work as a proof-of-concept only. It doesn't look at the headers at all... it uses the current system time and *assumes* that the email is being scanned within a few minutes of being received by the local server. I am aware that this is a weak assumption in many

RE: [SAtalk] [RD] Creating rule for time accepted

2003-08-04 Thread Kai MacTane
At 8/4/03 02:20 PM , Erick Calder wrote: > Instead, I'd probably write an eval function where do I find docs on how to do that? The Camel Book? Seriously, you should learn Perl if you want to write an eval function; it's not as simple as a one-line rule. If you do understand Perl, then looking a

RE: [SAtalk] [RD] Creating rule for time accepted

2003-08-04 Thread Erick Calder
> Instead, I'd probably write an eval function where do I find docs on how to do that? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kai MacTane Sent: Monday, August 04, 2003 2:00 PM To: [EMAIL PROTECTED] Subject: RE: [SAtalk] [RD] Creating rule

RE: [SAtalk] [RD] Creating rule for time accepted

2003-08-04 Thread Chris Santerre
> -Original Message- > From: Kai MacTane [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 5:00 PM > To: [EMAIL PROTECTED] > Subject: RE: [SAtalk] [RD] Creating rule for time accepted > > > At 8/4/03 12:49 PM , Chris Santerre wrote: > > >Wel

RE: [SAtalk] [RD] Creating rule for time accepted

2003-08-04 Thread Kai MacTane
At 8/4/03 12:49 PM , Chris Santerre wrote: Well you could make a header rule to look for a time in the date field between 20-24 or 0-6 and give them some points. But I would score it small and see how it pans out. I might try it for kicks this week. I wouldn't use the Date: field; that can easily

RE: [SAtalk] [RD] Creating rule for time accepted

2003-08-04 Thread Chris Santerre
> -Original Message- > From: Mark Emerle [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 31, 2003 5:29 PM > To: [EMAIL PROTECTED] > Subject: [SAtalk] [RD] Creating rule for time accepted > > > Hi- > > Someone in our office presented this to me.

[SAtalk] [RD] Creating rule for time accepted

2003-07-31 Thread Mark Emerle
Hi- Someone in our office presented this to me. Is there a way to create a rule for messages delivered during off hours? I work for an office that is primarily occupied between 8:00am to 6:00pm, and most of our mail received between 8:00pm to 6:00am is mostly junk. I definitely wouldn't su