Print Page | Close Window

RegEx Blocking by Date

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5486
Printed Date: 16 November 2025 at 8:51am


Topic: RegEx Blocking by Date
Posted By: Guests
Subject: RegEx Blocking by Date
Date Posted: 04 February 2006 at 1:06pm

Here is the problem. Several Spammers are sending mail with an old date header. Inbound message is from 2003 or 2004 etc. Easy enough to do, a pc has the clock set back and a smtp engine sending mail.

What I want to do is find some way, and probably RegEx is the only way, to block all inbound messages that do not conatin this years date. or go even one step further and if it does not contain this years month and date.

I am a RegEx Nub any help or ideas would be great.




Replies:
Posted By: LogSat
Date Posted: 04 February 2006 at 6:40pm
Vicer,

Currently the email headers cannot be scanned for keywords, so you will not be able to block emails based on the date field. There is an option in the SpamFilter.ini file to scan the "Received:" headers, and we may add add some other options in the future.


-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: Guests
Date Posted: 05 February 2006 at 5:07pm
Thanks, it would be a useful feature I think. It would probably only cut out about 2% of the spam but every percent helps.



Print Page | Close Window