On Sun, 2008-06-15 at 07:41 -0300, Leonardo Rodrigues Magalhães wrote: > Hello Guys, > > Is it possible to write a rule that matches based on the current > time of the host running spamassassin ?? I would like to simply add, > let's say, 1 point for EVERY message received during night, for example, > 9PM until 6AM. > > is that possible to write that rule ?
Yes. Write a regex that checks the time from of the Received: header that your MTA adds. Post a sample Received: header from your MTA and I'll take a shot at it. -- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ [EMAIL PROTECTED] FALaholic #11174 pgpk -a [EMAIL PROTECTED] key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- Liberals love sex ed because it teaches kids to be safe around their sex organs. Conservatives love gun education because it teaches kids to be safe around guns. However, both believe that the other's education goals lead to dangers too terrible to contemplate. ----------------------------------------------------------------------- 3 days until SWMBO's Birthday