LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-30-2010, 02:13 AM   #1
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Rep: Reputation: 15
Wink SquirrelMail DataBase


Hola,
i need to ask for some problem faces me in Squirrelmail.
I have a Squirrelmail 1.4.0 and all is fine, it hs the ability to send and receive mail without any problems yet, just few days i tried to let Squirrelmail to work using Database, but really i don't know how to do that.
i make some changes in config.php file and then run the configtest.php and it gives me these informatons :
Quote:
Checking database functions...
not using database functionality.
Really help me, my server is :
Quote:
Linux Centos 5.4
Mail Server Postfix
Squirrelmail 1.4.0
MySQL DB
Thanks in advance ...
 
Old 06-28-2010, 04:14 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Independance, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 160Reputation: 160
Well, I would suggest detailing your changes and configuration in more depth, without that we really can't tell you anything.
 
Old 06-29-2010, 04:54 AM   #3
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 1,790

Rep: Reputation: 656Reputation: 656Reputation: 656Reputation: 656Reputation: 656Reputation: 656
Without having any clue as to what you did or did not try, I would suggest the following: http://squirrelmail.org/docs/admin/admin.html#toc5.7. It is from the Squirrelmail documentation page and discusses the downsides of using a database backend, which includes some squirrelmail functions not working with it, as well as providing a how to do this if you still want to proceed.
 
Old 06-29-2010, 11:39 AM   #4
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Noway2 View Post
Without having any clue as to what you did or did not try, I would suggest the following: http://squirrelmail.org/docs/admin/admin.html#toc5.7. It is from the Squirrelmail documentation page and discusses the downsides of using a database backend, which includes some squirrelmail functions not working with it, as well as providing a how to do this if you still want to proceed.
thanks a lot, but please told me what files you want to see
 
Old 06-29-2010, 12:30 PM   #5
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Original Poster
Rep: Reputation: 15
cool, thanks i think this article was awesome, but there is something
but there are some errors like that:

===================
Error initializing addressbook database. [Personal address book] Database error: connect failed Error initializing global addressbook. [Global address book] Database error: connect failed
===================

and the other error is :

===================
No personal address book is defined. Contact administrator.
===================
Thanks in advance ...
 
Old 06-29-2010, 06:20 PM   #6
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 1,790

Rep: Reputation: 656Reputation: 656Reputation: 656Reputation: 656Reputation: 656Reputation: 656
Quote:
Error initializing addressbook database. [Personal address book] Database error: connect failed Error initializing global addressbook. [Global address book] Database error: connect failed
This is somewhat of a guess based upon my own experience with PhP / MySQL applications, but you probably have a configuration error in supplying the user name and password for your database. If you are trying to connect to a database that is on a different computer than the mail application, this will be possible but more difficult. When users try to connect to the database, it receives the user plus the domain information and both need to match in the users table. By the way, the user is created with the 'grant privileges' command. The No address book defined error could be a result of the failure to connect to the database.
 
1 members found this post helpful.
  


Reply

Tags
db, squirrelmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NTOP Error Traversing Database for ipnum = - Perhaps database is corrupt? soslinux Linux - Networking 2 03-03-2010 06:28 AM
DBI Connect Failed:Access denied for user ''@'localhost' to database <database> error kaplan71 Linux - Software 3 06-05-2009 12:39 PM
How can i copt the MYSQL Database to a other server (Database) halvorls Linux - Server 3 07-27-2008 09:19 PM
Database Programming (database to database transaction) johncsl82 Programming 7 02-02-2007 08:20 AM
LXer: A database solution is more than database software LXer Syndicated Linux News 0 09-25-2006 08:54 AM


All times are GMT -5. The time now is 09:54 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration