how to reject mail with old dated mail or future date mail
Dhawal Doshy
dhawal at NETMAGICSOLUTIONS.COM
Mon Feb 14 09:53:17 GMT 2005
[ The following text is in the "UTF-8" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Alessandro Fiorenzi wrote:
> Hi, I would understand if it is passible to block or reject mail that
> come with old date or future date.
>
> Sure if I recive a mail with a date of 1 december 2000 I should think it
> could be spam, the same if I
> recive email with date of 2007
>
> Anyone has found a solution?
>
> Thanks
>
> Alessandro Fiorenzi
If you use the default SA 3x rules, '20_head_tests.cf' to be precise
then this rule will help you detect time / date greater than 3 hours in
future / past.
Try a lint test to see if this rule is included in spam.assassin.prefs.conf
spamassassin -D -p /path/to/spam.assassin.prefs.conf --list
- dhawal
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list