Re: [Exim] ACL check for date?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Bruce Richardson
Date:  
À: exim-users
Sujet: Re: [Exim] ACL check for date?
On Fri, May 07, 2004 at 03:58:34PM +0100, Philip Hazel wrote:
> On Fri, 7 May 2004, Bruce Richardson wrote:
>
> > > 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.
>
> A clever hacker should be able to do it in Exim with enough cunning.
> Regular expressions are your friend.


SpamAssassin is still the more appropriate place to do this. You could
assign a nice big weight to the test and still not lose any messages
from friends who happen to mess up their clock.

--
Bruce

Hummingbirds are the only birds that can fly backwards, apart from
ostriches if you punch them hard enough.