Ray wrote:

Ray wrote:

When I inquired about SM plug-ins a couple days back my hosting provider said they won't/cant? do plugins since SM is on a central server :-( (don't recall exact wording but that was the basic gist of it...)

After doing some trial & error research I'm beginning to think that the default dir for .abook on this server is not /var/www/squirrelmail-data

Took a user w/no addressbook and put 2 entries in via SM and when I went back and looked via SSH/server side it was still a blank file.
Where else might SM keep that info (note: I also have a ticket into support to see if they can tell me as well...) but I don't know who might know or who might answer first.



Regards/Thanks again. /Ray

Fredrik Jervfors wrote:

This could be an ownership issue. You say you just changed hosts. Perhaps
your old host ran PHP as CGI, which would mean that files created by SM
are owned by you the user. That would enable you to edit or replace them.


The new host may run PHP as an Apache Module, which would mean that
files created by SM are owned by the server, e.g. "nobody". You wouldn't
have ownership rights to overwrite them as you're trying to do.


According to my hosting provider.. "PHP is run as a CGI for your
specific user." and I created a test .abook file from my admin login for
the admin user and still don't get an .abook file (unless I use SM to do
it 1 by 1...) Is there a work around for this? (also CGI is enabled for
my users). I can check but I imagine the old host was the same setup as
they use the same reseller software? Even so if I re-create a new file
shouldn't that work?


Or does it look like I have to take each account and redo all the info
via the SM interface (which doesn't support a batch add <g> can we add a
feature request <g>)



Did you compare the ownership and flags for a file that you moved and a file created through SquirrelMail? Are there no differences?

Also, there is a abook import/export plugin, so yes, you can do batches on
a per user basis.


Sincerly,
Fredrik.


Issue is partly solved... Data on the old server was /var/www/squirrelmail-data (I think this is default?) and appears to be user level, data on new server is /var/squirrelmaill/data and appears to be owned by apache . Once my host can either grant me ownership, or more likely copy the files for me I think all will be well. Had it not been for Fredik's post I wouldn't have even thought to check the locations/ownerships etc...

Regards,
/Ray

Just for reference? The change in data directory is what caused the issue! Thanks to all for help you got me on the right track! :)

--
ShiroTora Hosting powered by ShiroTora Interservices
* Web Hosting
* Domain Registration Services for far less then $35/year
* Consulting/Research Hardware/Software and more
* - Coming Soon - www.shirotora.net - Coming Soon -
* E-mail [EMAIL PROTECTED] for more information



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
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