Download RIMA and unzip the file to your favourite directory
Permit the execution of the file RIMA.rb (if you want) $> chmod +x RIMA.rb
Basic Usage:
Step One:
Open Settings.yml with a simple text editor.
For each mailbox you want to archive, you have to edit name, server, user, password and ssl fields.
You can add or wipe mailboxes definitions as you want, following the example. (I don't have tested more than two mailboxes...)
Step Two:
For interactive execution, just type $> ruby RIMA.rb
or if you have chmodded it for execution $> ./RIMA.rb
or add it to the Cron (or Anacron) records for scheduled execution.
You know how.
Step Three:
There is not Step Three =)
Notes:
Please (please, please!) consider to make a backup of your entire mailbox before executing RIMA script.
Even if I tested it, this Software might make the worst things with your precious messages (a.k.a. deletion).
I will not be responsible for any loss or damage to your data.
No claims. Never!
Chuck Norris is my lawyer. So be responsible!
The execution time is proportional to the number of messages in your mailbox.
Sometimes ssl to imap connections fails. In case, try with
ssl: false instead of
ssl: true in Settings.yml
To Do:
Standard log messages and errors appears to the stdout. I will move it to stdout and stderr in the next version.