Displaying 4 results from an estimated 4 matches for "06t18".
Did you mean:
0618
2019 Jan 24
4
Discard mail with from date older than xxxx
...t; Hi Trever
>
> here is a snippet I use occasionally:
>
> if allof(
> currentdate :zone "+0200" :value "ge" "iso8601" "2017-09-04T00:00:00+02:00",
> currentdate :zone "+0200" :value "le" "iso8601" "2017-09-06T18:09:00+02:00"
> )
>
>
> HTH
> Per
Please, correct me if I am wrong. This looks at the system clock. I need
to look at the date in the email (Date header). I am trying to catch
spam that hides 6-9 months in the past (in the last week I have had two
from August 2018 show up... ob...
2019 Jan 23
2
Discard mail with from date older than xxxx
I know that sieve doesn't do math. The file would be created externally.
Based on examples in section 4.4 of
https://tools.ietf.org/html/rfc5260#section-4
I figured something like this would work.
if date :value "le" :originalzone "date" "date" "2018-10-25" {
??????? fileinto "SPAM";
??????? stop;
}
However, I get the following.
spam: line
2019 Jan 24
0
Discard mail with from date older than xxxx
...e on how to get this working?
Hi Trever
here is a snippet I use occasionally:
if allof(
currentdate :zone "+0200" :value "ge" "iso8601" "2017-09-04T00:00:00+02:00",
currentdate :zone "+0200" :value "le" "iso8601" "2017-09-06T18:09:00+02:00"
)
HTH
Per
--
Per Jessen, Z?rich (-1.6?C)
http://www.dns24.ch/ - free dynamic DNS, made in Switzerland.
2019 Jan 24
0
Discard mail with from date older than xxxx
...t;> here is a snippet I use occasionally:
>>
>> if allof(
>> currentdate :zone "+0200" :value "ge" "iso8601" "2017-09-04T00:00:00+02:00",
>> currentdate :zone "+0200" :value "le" "iso8601" "2017-09-06T18:09:00+02:00"
>> )
>>
>>
>> HTH
>> Per
>
>
> Please, correct me if I am wrong. This looks at the system clock. I need
> to look at the date in the email (Date header).
Sorry, I misunderstood.
I rely on spamassasssin to deal with spam.
/Per