neo2squirrel.pl - convert address book, preferences.
./neo2squirrel.pl [-thv] [-c ./config.php]
or
perl neo2squirrel.pl [-thv] [-c ./config.php]
The neo2squirrel.pl program convert address book, preferences and mailboxes
from neomail to squirrelmail for all neomail users on your machine.
neo2squirrel.pl will create
address book, signature and preference file. As we need some hints
on webservers uid and gid you must run squirrelmail and login
to at least one user before running neo2squirrel.pl.
This program copies neomail mailboxes (user defined and ``SAVED'' and ``SEND'')
to users mail directory. Your users may have to register them using the
"folder" in squirrelmail. As the program can't use IMAP to copy mailboxes,
this may not work in some configurations.
-c Squirrelmail configuration file (full path).
-t Test mode, no sql update.
-h Usage message.
-v Verbose mode (recommended for first time use).
neo2squirrel.pl under superuser (root).squirrelmail/conf (where conf.pl is),perl neo2squirrel.pl -t -v .neo2squirrel.pl -v 2> error.log > run.log .
This program was tested with MySQL, squirrelmail-1.4.0, neomail 1.24 on RedHat 9. You must consider it as beta code !.
As this is a run once program, I don't think that I will fix bugs or release new versions.
IF YOU USE THIS PROGRAM, YOU DO THIS AT YOUR OWN RISK !!!.
Make backup before you run this program !!!!
README.sql manpage, Neomail documentation, Squirrelmail documentation.
neo2squirrel.p was written by Oded S. Resnik <raz@raz.co.il> in 2003.
Copyright (c) 2003 RAZ Information Systems All rights reserved. http://www.raz.co.il/
You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file