Re: [Exim] ACL check for date?

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
A: exim-users
Assumpte: Re: [Exim] ACL check for date?
Bruce Richardson <itsbruce@???> wrote:
> On Fri, May 07, 2004 at 03:42:53PM +0200, Mark M wrote:
>> Hi All,
>>
>> I'm seeing more and more spam that is forging the date of the email
>> message.
>> This way they try and keep the spammail at the top of you inbox.
>>
>> Well, seeing that I do not have many friends sending email to me from
>> the future, how can I tell Exim 4.3 to check for a valid/sane date?
>
> I don't think you can. It sounds more like a job for SpamAssassin (or
> some other external filter). How are your perl skills? Adding an
> extra test to SpamAssassin isn't insanely difficult.


SA already has tests for dodgy dates -

$ grep DATE 50_scores.cf

50_scores.cf:score DATE_IN_FUTURE_03_06 2.904 2.834 0.753 1.931
50_scores.cf:score DATE_IN_FUTURE_06_12 1.609 1.946 1.559 1.973
50_scores.cf:score DATE_IN_FUTURE_12_24 1.754 1.953 2.216 3.332
50_scores.cf:score DATE_IN_FUTURE_24_48 2.730 2.796 2.567 2.546
50_scores.cf:score DATE_IN_FUTURE_96_XX 2.486 2.370 2.071 2.599
50_scores.cf:score DATE_IN_PAST_03_06 0.322 0.680 0.753 0.419
50_scores.cf:score DATE_IN_PAST_06_12 0.800 0.599 1.363 0.650
50_scores.cf:score DATE_IN_PAST_12_24 0.756 0.385 1.364 0.746
50_scores.cf:score DATE_IN_PAST_96_XX 1.781 1.238 2.165 1.534
50_scores.cf:score DATE_MISSING 1.540 0.985 0.869 1.917
50_scores.cf:score INVALID_DATE 0.042 0 0 0
50_scores.cf:score INVALID_DATE_TZ_ABSURD 1.746 1.737 1.749 1.779
50_scores.cf:score DATE_SPAMWARE_Y2K 4.500 4.400 4.300 4.200
50_scores.cf:score DATE_IN_FUTURE_48_96 0
50_scores.cf:score DATE_YEAR_ZERO_FIRST 2.900 0 2.800 0
50_scores.cf:score DATE_IN_PAST_24_48 0
50_scores.cf:score DATE_IN_PAST_48_96 0

Peter