From: "Ian Manners" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTP id 14421039 for ecs-isp@2rosenthals.com; Sun, 12 Oct 2025 10:30:42 -0400 Received: from secmgr-va.randr ([192.168.200.201]:52812 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.98.2) (envelope-from ) id 1v7x5i-000000007be-1iPy for ecs-isp@2rosenthals.com; Sun, 12 Oct 2025 10:30:32 -0400 Received: from h1.out1.mxs.au ([110.232.143.235]:63522) by mail2.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1v7x5b-000000001rf-0Xmk for ecs-isp@2rosenthals.com; Sun, 12 Oct 2025 10:30:24 -0400 Received: from s231.syd2.hostingplatform.net.au (s231.syd2.hostingplatform.net.au [103.27.32.8]) by out1.mxs.au (Halon) with ESMTPS (TLSv1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 id f73db42f-a777-11f0-beef-00163c39b365 for ; Mon, 13 Oct 2025 01:30:13 +1100 (AEDT) X-SASI-Hits: BODYTEXTP_SIZE_3000_LESS 0.000000, BODY_SIZE_1000_LESS 0.000000, BODY_SIZE_2000_LESS 0.000000, BODY_SIZE_400_499 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_QUOTED_PRINTABLE 0.000000, DKIM_SIGNATURE 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, LEGITIMATE_SIGNS 0.000000, MSG_THREAD 0.000000, NO_CTA_FOUND 0.000000, NO_CTA_URI_FOUND 0.000000, NO_URI_FOUND 0.000000, NO_URI_HTTPS 0.000000, RCVD_EXIM_IP_PORT 1.000000, REFERENCES 0.000000, SENDER_NO_AUTH 0.000000, SUSP_DH_NEG 0.000000, TO_IN_SUBJECT 0.500000, USER_AGENT 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CT 0.000000, __CTE 0.000000, __CTYPE_CHARSET_QUOTED 0.000000, __CT_TEXT_PLAIN 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FRAUD_ANTIABUSE 0.000000, __FROM_DOMAIN_NOT_IN_BODY 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FUR_HEADER 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HAS_X_MAILER 0.000000, __HEADER_ORDER_X_SOURCE 0.000000, __IN_REP_TO 0.000000, __MIME_BOUND_CHARSET 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __NO_HTML_TAG_RAW 0.000000, __PHISH_SPEAR_SUBJ_SUBJECT 0.000000, __RCVD_EXIM_IP_PORT 0.000000, __REFERENCES 0.000000, __SANE_MSGID 0.000000, __SCAN_D_NEG 0.000000, __SCAN_D_NEG2 0.000000, __SCAN_D_NEG_HEUR 0.000000, __SCAN_D_NEG_HEUR2 0.000000, __SUBJ_ALPHA_END 0.000000, __SUBJ_ALPHA_NEGATE 0.000000, __SUBJ_REPLY 0.000000, __TO_IN_SUBJECT 0.000000, __TO_IN_SUBJECT2 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NAME_DIFF_FROM_ACC 0.000000, __TO_REAL_NAMES 0.000000, __URI_NO_MAILTO 0.000000, __USER_AGENT 0.000000 X-SASI-Probability: 15% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 2025.10.12.132719 X-SASI-Hits: BODYTEXTP_SIZE_3000_LESS 0.000000, BODY_SIZE_1000_LESS 0.000000, BODY_SIZE_2000_LESS 0.000000, BODY_SIZE_400_499 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_QUOTED_PRINTABLE 0.000000, DKIM_SIGNATURE 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, LEGITIMATE_SIGNS 0.000000, MSG_THREAD 0.000000, NO_CTA_FOUND 0.000000, NO_CTA_URI_FOUND 0.000000, NO_URI_FOUND 0.000000, NO_URI_HTTPS 0.000000, RCVD_EXIM_IP_PORT 1.000000, REFERENCES 0.000000, SENDER_NO_AUTH 0.000000, SUSP_DH_NEG 0.000000, TO_IN_SUBJECT 0.500000, USER_AGENT 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CT 0.000000, __CTE 0.000000, __CTYPE_CHARSET_QUOTED 0.000000, __CT_TEXT_PLAIN 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FRAUD_ANTIABUSE 0.000000, __FROM_DOMAIN_NOT_IN_BODY 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FUR_HEADER 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HAS_X_MAILER 0.000000, __HEADER_ORDER_X_SOURCE 0.000000, __IN_REP_TO 0.000000, __MIME_BOUND_CHARSET 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __NO_HTML_TAG_RAW 0.000000, __PHISH_SPEAR_SUBJ_SUBJECT 0.000000, __RCVD_EXIM_IP_PORT 0.000000, __REFERENCES 0.000000, __SANE_MSGID 0.000000, __SCAN_D_NEG 0.000000, __SCAN_D_NEG2 0.000000, __SCAN_D_NEG_HEUR 0.000000, __SCAN_D_NEG_HEUR2 0.000000, __SUBJ_ALPHA_END 0.000000, __SUBJ_ALPHA_NEGATE 0.000000, __SUBJ_REPLY 0.000000, __TO_IN_SUBJECT 0.000000, __TO_IN_SUBJECT2 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NAME_DIFF_FROM_ACC 0.000000, __TO_REAL_NAMES 0.000000, __URI_NO_MAILTO 0.000000, __USER_AGENT 0.000000 X-SASI-Probability: 15% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 2025.10.12.132719 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=os2site.com ; s=default; h=Subject:Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Date:To:From:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jHo44LxwWA6st65BrXIPOWPRrrmsob+eBiWitMX1nos=; b=zxd2yXIq71XT4QJDZnzSqF1U07 Xbxf7ABji1eBesqcui6ZTC5f9mHpMHxpRViTMxMRzRkyh5TTj3HpMmDn9LdedILA1n3OyLA2vs1/8 jrFSBB+apIpoL2t4csIArFpDNFTP2co5rA1mvjuyqHOxqtuemDr3qp6UkqKFHVMKmZeRA8wN8TjtZ ufjkV/ssksflfJH4IH8zGO8yehVZlJfJibpy3uNTw1L3mSsR3wwKIxXQsUhBya2teXAx/a1ZKHcxy n0g4TWQYnrPLfEganHWaYb9GyrxoZaZmq+q14Z5q49O4F+0i9flNQJrnJIEkdJ816b3VVhBKUyGhe lHOf2Eyg==; Received: from wa.comkal.net ([60.240.253.202]:57384 helo=ARCAOS-B970197) by s231.syd2.hostingplatform.net.au with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.1) (envelope-from ) id 1v7x5R-0000000152z-2czP for ecs-isp@2rosenthals.com; Mon, 13 Oct 2025 01:30:13 +1100 Message-ID: <100.c0210a0074bbeb68.009@os2site.com> To: "eCS ISP Mailing List" Date: Sun, 12 Oct 2025 22:30:12 +0800 (AWS) In-Reply-To: References: Priority: Normal User-Agent: PMMail/3.11 (os/2; U; Warp 4.5; en-AU; i386; ver 3.11.47.2052) X-Mailer: PMMail 3.11.47.2052 for OS/2 Warp 4.5 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Subject: Re: [eCS-ISP] script to rotate logs, old mails etc. and create a dated zip X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s231.syd2.hostingplatform.net.au X-AntiAbuse: Original Domain - 2rosenthals.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - os2site.com X-Get-Message-Sender-Via: s231.syd2.hostingplatform.net.au: authenticated_id: ian@os2site.com X-Authenticated-Sender: s231.syd2.hostingplatform.net.au: ian@os2site.com X-Source: X-Source-Args: X-Source-Dir: 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 th= e archived filename. Cheers