This tool has been tested on the latest NetMail version (3.5.2). It can run against either NetWare or Linux NetMail installations, but the Perl script itself must be executed from a Linux machine. It cleans mailboxes according to user-defined parameters. This tool is safe to run on a server while NetMail is running, as it uses the NMAP protocol and updates its message list frequently while executing the actual Delete and Purge commands.
It is written in pure Perl and has a few minor Linux system calls built in (thus the Linux machine requirement). This tool uses a socket connection to talk to NetMail's NMAP protocol. It has been highly tested in a large environment.
Novell迷,迷Novell
To use this Perl script, you need the following Perl modules installed:
Socket
Date::Manip
Number::Bytes::Human http://Novell.Me
Usage:
Edit the Perl script, setting your configuration options in the header. Make sure that you add the machine that you run this script from as a trusted host in WebAdmin! Novell迷,迷Novell
To execute, at a bash prompt type: perl netmail-clean.pl (optionally to time the command: time perl netmail-clean.pl) 本文转载自http://novell.me
DISCLAIMER: Although this tool was highly tested I cannot make any guarantees that it will work with your setup. It was coded very closely to the NMAP protocol specification. I take no responsibility for this code's actions! Novell迷网站原创内容,未经允许,谢绝转载!
附件:
netmail-clean.zip |
本文来自Novell迷网站 http://novell.me
转载请注明出处!本文地址 http://novell.me/GroupWise/2010/0528/NetMail-3.5.2-Mailbox-Cleanup-Routine.html
(责任编辑:Novell迷)