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
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
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
> 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
> -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
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
> -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.
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