Benjamin Renard
Initial commit
Benjamin Renard commited 4b2682d at 2013-12-25 20:10:39
Thunderbird to SOGo scripts
===========================
Convert Thunderbird mail directory to Maildir format
----------------------------------------------------
The thunderbird2maildir script permit to transform Thunderbird mail
directory in Maildir format. This script take Thunderbird mail
directory path (-m parameter) and inspect content to find mbox file
and convert relative path in maildir hierarchic path. You could use
-r parameter to replace accents in maildir path to avoid encoding
problems. It use perfect_maildir.pl [1] script (path could be specify
by using -P parameter) to convert mbox file to Maildir.
[1] perfect_maildir.pl : http://perfectmaildir.home-dn.net/
Usage: thunderbird2maildir [options]
Options:
-h, --help show this help message and exit
-m MBDIR The Mbox Thunderbird mail directory
-M MDDIR The maildir directory
-P PERFECTMAILDIR The perfect_maildir.pl script path
-t, --just-try
-r, --replace-accents
Remove accent in folder names
-v, --verbose
-d, --debug
Convert Thunderbird mail filters to SOGo JSON format
----------------------------------------------------
The convertFilters script permit to convert Thunderbird mail filters
to SOGo filters. It take as input msgFilterRules.dat path (-f parameter),
parse file and try to convert filters in SOGo equivalent. Some filters
conditions or actions can't be converted as SOGo filters, so warning or
critical messages will be inform you of possible conversions problems.
Output is in JSON format. By default, JSON string is write and stdout
but you could provide with -o parameter a file path where JSON have to
be write.
Usage: convertFilters [options]
Options:
-h, --help show this help message and exit
-f FILE The msgFilterRules.dat path
-o OUT Output path (default : '-' => stdout)
-p, --pretty Pretty JSON output
-j, --just-try Just-try mode (no output)
--dont-warn-cc Don't warn about cc -> to_or_cc convertion
-r, --replace-accents
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX