Re: how to backup and restore abook files for squirrelmail?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




stilobix wrote:
> 
> yes amd64
> 
> How do squirrelmail does checksum calculation? based on what? the hostname
> is different, the new server is amd64 and the old one i386, then
> everything is the same. I rebuilt the server exactly like it was.
> 
> To be honnest I am new to squirrelmail so I did a "rsync -a" from the old
> server to the new one. I read documentations and wikis on the official
> website. And I do not understand why squirrelmail is not using the .abook
> files (backup) instead of creating new ones. 
> Everything is working fine except the address book. Well it is working but
> I can not get the backup back in the webmail interface.
> 
> I might go a fresh install of squirrelmail with an up to date version.
> 
> 
SquirrelMail uses PHP crc32 function to calculate checksum of username.
Newer versions have fix for 64bit systems. You said that files are created
in different directory. It means that crc32 result is different on new
system. FreeBSD 6.2 is probably 32bit x86. crc32 result is integer value.
32bit integer size differs from 64bit integer. SquirrelMail does not scan
entire hashed tree for matching user data files. It checks only root data
directory and directories defined in hash. If hash gives $data_dir/a/b/c/d/
hash directories for your username, SquirrelMail won't look up in
$data_dir/b/c/d/e/

Patch is in
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/trunk/squirrelmail/functions/prefs.php?r1=12714&r2=13403.
Although PHP manual comments have different code variation for that.
-- 
View this message in context: http://old.nabble.com/how-to-backup-and-restore-abook-files-for-squirrelmail--tp33043674p33052688.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux