Re: [Exim] How to reject mails written in the future

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Sheldon Hearn
CC: Franz Georg Köhler, exim-users
Subject: Re: [Exim] How to reject mails written in the future
On Tue, 19 Jun 2001, Sheldon Hearn wrote:

> > im wondering how to reject mails, which are written at least one week in
> > the future (for example: Date: Thu, 11 Jun 2026 12:53:41 +0200).
> >
> > Could anyone point this out?
>
> I don't know of a way to do this without using a pipe command or the
> embedded Perl interpreter.


It will be possible in Exim 4 to test the Date header before the final
SMTP response. In Exim 3, the only place you can test it is in a filter.

Some weird and wonderful expansion code can probably test for one week
in the future if you are cunning enough. Maybe. I don't want to try.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.