On 15-Jun-2009, at 01:09, EASY steve.h...@digitalcertainty.co.uk wrote:
Probably a stupid question, but in practical terms is it possible to
set
a header filter that will reject (or ideally defer) mail on time
range?
For example during the hours of 00:00 -> 07:00.
Erm.. well, yes, you COULD do that, but why?
$ cat header_checks.pcre
# Emails with erroneous dates (or dates far in the past) will appear
at the top or bottom of your mail client.
/^Date:.* 19[0-9][0-9]/ REJECT Your email has a date from the past.
Fix your system clock and try again.
/^Date:.* 200[0-8]/ REJECT Your email has a date from the past.
Fix your system clock and try again.
/^Date:.* 20[1-9][0-9]/ REJECT Your email has a date from the
future. Fix your system clock and try again.
That should give you the idea...
I appreciate that the action will probably have to be 'reject' if it
is
possible at all. Has anyone tried/implemented this and what are the
thoughts/comments on it.
Well, it seems like a spectacularly bad idea to me...
--
Over 3,500 gay marriages and, what, no hellfire? I was promise
hellfire. And riots. What gives? -- Mark Morford