_DATE_ function in archive

Alex Neuman alex at nkpanama.com
Wed Jun 13 19:15:38 IST 2007



Denis Beauchemin wrote:
> $shortdate = sprintf("%04d%02d", $year+1900, $month+1);
>>
> $archiveplaces =~ s/_SHORTDATE_/$shortdate/g;
>>
> With my 2 minor corrections it should substitute _SHORTDATE_ for 
> YYYYMM wherever this matches (assuming this is in the reports or rules).
>
> Denis
Just to make sure I get the gist of it... This *couldn't* be supported 
as some custom function so that it would work across upgrades, right? 
Unless it were added to the next version of MailScanner, this would have 
to be done manually, right?


More information about the MailScanner mailing list