Re: [eCS-ISP] script to rotate logs, old mails etc. and create a dated zip
Date:
Sun, 12 Oct 2025 22:30:12 +0800 (AWS)
To:
"eCS ISP Mailing List" <ecs-isp@2rosenthals.com>
Hi Massimo,
> i need something that achive all .MSG files to a ZIP archive with date
> and after delete the .MSG
>
> thanks, but i guess this script can't help me
It will, you simply have to modify it to your needs.
I use the same script to archive *.log files for both weasel and
FTPServer, then delete the logs after. All you need to do is change .'log'
to .'msg', the date part is already in the script, and becomes part of the
archived filename.