NAME


neo2squirrel.pl - convert address book, preferences.


SYNOPSIS

./neo2squirrel.pl [-thv] [-c ./config.php]

or

perl neo2squirrel.pl [-thv] [-c ./config.php]


DESCRIPTION

The neo2squirrel.pl program convert address book, preferences and mailboxes from neomail to squirrelmail for all neomail users on your machine.

Mailboxes conversion

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.


OPTIONS

-c    Squirrelmail configuration file (full path).

-t    Test mode, no sql update.

-h    Usage message.

-v    Verbose mode (recommended for first time use).


USING neo2squirrel.pl

  1. If you successfully installed squirrelmail and used it (login to one user), your configuration was tested by squirrelmail. You may try this program after backing up all your data.
  2. Run neo2squirrel.pl under superuser (root).
  3. Change directory to squirrelmail/conf (where conf.pl is),
  4. Run the program in the test mode: perl neo2squirrel.pl -t -v .
  5. If output OK run: neo2squirrel.pl -v 2> error.log > run.log .
  6. Check log files created in previus step..
  7. Log into squirrelmail to see result.


BUGS

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 !!!!


SEE ALSO

README.sql manpage, Neomail documentation, Squirrelmail documentation.


AUTHOR

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