|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Blocking emails with sent-dates far in the past?
From: /dev/rob0 (rob0
gmx.co.uk)
Date: Fri Oct 27 2006 - 07:23:43 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Friday 27 October 2006 06:49, Sandy Drobic wrote:
> Francesco Peeters wrote:
> > What I'd like to do is block any email with a sent-date too long
> > ago. In my experience 90% of all mails with a date longer than 14
> > days ago is spam, and the few that aren't are from people too dumb
snip
> I don't think you can do this without a content filter. The date
Actually I have done this (albeit not as accurately as asked by the OP)
with header_checks:
/^Date: .* (19[0-9][0-9]|200[0-5])/ REJECT
Email from the past. Fix your system clock, try again.
That assumes that the year is 4-digit and is offset with a leading
space. On the minus side, this isn't as precise as the OP asked, and
the expression has to be updated circa mid January to February of every
year. On the plus side, this incurs few false positives. Mine caught a
colleague once, but it was better that he heard it from me than NOT
hearing it from some customer's Spam Assassin. :)
--
Offlist mail to this address is discarded unless
"/dev/rob0" or "not-spam" is in Subject: header
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]