Home / clessidera 1
Name Modified Size InfoDownloads / Week
Parent folder
clessidera.pm 2011-11-09 13.2 kB
clessidera.t 2011-11-09 4.9 kB
FEATURES 2011-11-09 1.7 kB
INBOX 2011-11-09 4.7 kB
README 2011-11-09 2.8 kB
Totals: 5 Items   27.3 kB 0
http://sourceforge.net/p/clessidera

What is this ?
==============

It's a project to develop a simple archive system for emails.

See FEATURES for details and version road map.

The idea is to build and archiving system for lazy people ... like me.

I'm not so good to keep my emails clean and organized, so I need a system to clean may boxes putting old messages away. 
The archived mails must be searchable and recoverable if needed.

This project is in early stages of development (near 1.0 in the raod map), so use it at your own risk !!! (ie. make backup copies of your mailboxes)

It works with an IMAP server, and it has been tested on:

Client:
Linux Slackware with perl v5.10.0

Server:
Linux Slackware 13.0 32 bit + dovecot-2.0.0

Who made it ?
=============

My name is Stefano and I'm the sysadmin of the local municipality of Lucca (Italy).

How to install ?
================

At the moment there isn't an installer.
It's a script (clessidera.pm) in perl (which is also a module) which requires some CPAN modules:

use Getopt::Long qw(GetOptionsFromArray);
use Log::Log4perl qw(:easy);
use Net::IMAP::Simple;
use Date::Calc;
use Data::Dumper;

If you wan to use the test script (clessidera.t) you also need:
use Test::More;
use Test::Output;
use Test::Trap;
And a user "pippo" on the IMAP server to test (see clessidera.t).

Usage
=====

./clessidera.pm ARGS

where ARGS:

-u, --username USERNAME         (mandatory) mailbox's username
-p --password PASSWORD          (mandatory) username's password
-m --mailbox MAILBOX            on which mailboxes work
                                multiple option allowed
                                                                [default: INBOX]
-h --homedir HOME               imap home directory             [default: /home/USERNAME]
-s --server IMAPSERVER          server address                  [default: localhost]
                                To define which messages must be archived:
                                (al least one is mandatory)
-d --deadline DAYS                  older than DAYS
-f --from FDATE                     in FDATE - 31-dec-2500 date range (younger than)
-t --to TDATE                       in 20-jun-1966 - TDATE date range (older than)
                                    or in FDATE - TDATE data range
                                    es: -d 365
                                    es: -f 01-jun-2011 -t 31-jul-2011
-a --destination NAME           if defined messages will be archived in this mbox
                                if undefined messages will be archive Arch-* (for each mbox)
-c --create                     create destination mailbox if not exist [default undef]

Contacts
========
Write to tirab _at_ comune _dot_ lucca _dot_ it


Source: README, updated 2011-11-09