>>>>> Thanks in advance for your help.
>>>>> Check 1.5.1cvs contrib directory. Please make sure that you have
>>>>>
>>>> backup of your data directory, before you use flat2sql.pl script.
>>>> Script is experimental. I don't give any warranties. If script
>>>> corrupts existing data files, you are on your own.
>>>>
>>> Thank you Tomas.
>>> I'll try your script and report back on the results
>>>
>>
>>
>> One thing: 't'ain't his script, it's Michael Blandford and Tal
>> Yardenis'
>> and if Tomas served it to you as the original flat2sql.pl, IT WON'T WORK.
>> That version's the original Norwegian Blue, it's dead.
>>
>>
>> I modified it after pointers from Paul L. (bless him), renamed it as
>> dbconvert.pl, posted the modified version to this ML and my version
>> *does* work. Obviously it doesn't corrupt input data, since it simply
>> reads that.
>>
>> --Tonni
>>
>>
>
> Hi,
>
>
> I've been trying to find the dbconvert.pl file but a search for that on
> the lists does not come up with anything apart from this message.
>
> I found the old script at:
> http://cvs.sf.net/viewcvs.py/squirrelmail/squirrelmail/contrib/flat2sql.pl
> ?rev=1.5&view=log
>
>
> although that seems to be also maintained. Is that now the recommended
> flat -> sql conversion script?

It is same script. I've never said that it is mine. Original script was
created by Michael Blandford and Tal Yardenis. Tonny Earnshaw posted
modified version. Versions posted to mailing list did not set licensing
suitable for distribution with SquirrelMail. I've contacted original
developer and asked to license it under GPL. Response is posted on cvs
logs.

Current script version gets all options from command line arguments and
fixes some address book and signature issues present in original scripts.

Script does not support data directory hashing. Backup your data directory
before you use the script or make sure that script can't modify files in
data directory. Feedback, patches and comments are welcome on
squirrelmail-devel list.

> Also has anyone started on a plugin to have this script run and insert
> the sql into the database when the user logs in? This avoid having to
> manually export and reimport thousands of user pref and abook files.

Such plugin won't be implemented in perl. It should implement both
preference backends in php classes and add couple of functions that are
not present in current db preference class. Work on such plugin can
improve current SquirrelMail preference system and make it more modulized.

-- 
Tomas


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to