kevin lyda <[EMAIL PROTECTED]> writes: > is there any way to get tmda to drop mail that's more than 5 days > off of today's date? something like header abs(DATE-NOW) > 5 ?
You could use a 'pipe' rule to pass the message into your own script which checked the Date header, and then returned the appropriate return code. e.g, # drop mail that claims to be > 5 days off today's date pipe /path/to/bin/check-date drop See http://tmda.net/filter-sources.html for more on 'pipe', and the contrib/smtp-check-sender script from the distribution for an example script that is used with 'pipe'. _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
