Re: Question on SM and NFS

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

 



Matt,

On Fri, January 5, 2007 3:18 pm, Matt wrote:
> SOLUTION FOUND!
> In your webmail/functions directory there is a file named abook_local_file.php
>
>     /** Unlock the datafile */
>     function unlock() {
>     #    return flock($this->filehandle, 3);
>     }
>
>

If I may offer another solution, I would recommend migrating to a db backend
like mysql.  http://www.squirrelmail.org/wiki/AddressbookDatabase
  The script provided here helped me convert all my prefs in a couple of
minutes.  Then I told Squirrelmail to use the db instead of files..  This
speeds everything up and saves you the hassle of risking file corruption
because you're not locking the files.  For the little time it takes to
convert to a db, the rewards are seen immediately.

Just my $.02

Mike


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
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

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

  Powered by Linux