next if (($numdays * 24 * 3600 + $s[9]) < time);

where:
$numdays = number of days
$s[9] is the system-date/time of the file ( not contens !) - if you have 
touched a file since it was closed by ASSP it will maybe accessed
time is the current time
 
in sub getBlockReasons should prevent this !

Thomas



Graziano <dreamserv...@libero.it> 
19.12.2008 22:24
Bitte antworten an
ASSP development mailing list <assp-test@lists.sourceforge.net>


An
ASSP development mailing list <assp-test@lists.sourceforge.net>
Kopie

Thema
Re: [Assp-test] asspblock (suggestion)






Thank you .

However why if I set to analyze latest 2 days (i.e.) ASSP analyzes all 
the maillogs
I have on /usr/local/assp  ?

if ASSP should analyze 5 days  , and I have 6 logfiles , 
and my current log is 6 days old ,
ASSP should analyze only current log (which contains 5 days) , without 
analyzing the other old 5 logfiles ,
saving a lot of server load.

Graziano


> Graziano wrote:
> 
>> When I sent a request to asspblock@ I received this (at the end of 
message)
>>
>> 340 blocked emails found for i...@my.net in the last 5 days
>> 576188 lines analysed in 3 logfiles on host ASSP.nospam
>>
>> I think it could be useful to customize number of days (by default 5) 
to 
>> be analyzed and number of latest logfiles .
>> 
>> 
> The default number of days is 5.  If you start the subject line of the 
> block request email with a number - that number is used for the quantity 

> of days.
>
> 


------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to