HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 (http://www.howtoforge.com/forums/showthread.php?t=27336)

Dutchy63 2nd October 2008 08:15

Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1
 
I have followed the tutorial, and even redone the tutorial from scratch.
The problem I am having is that mailboxes are not being created. The only error I can find is when an email is sent to an email account created on this server via Horde. I get message indicating mailbox is missing.

Also when I log into Horde with either the administrator login, or a user created using the admin login, and go to the inbox and message in a yellow box is displayed saying "Unable to retrieve quota".

I suspect the problem is with imap.conf.

In the tutorial it has the following parameters:
servername: TDS-IMAP/POP3
autocreate_sieve_script: /etc/default_sieve
autocreate_sieve_compiledscript: /etc/default_sieve_script.bc

Should the servername parameter be changed, and if so to what?

The files referenced in the autocreate... parameters do not exist. Where can they be obtained from, and are they required?
My understanding is that if they dont exist, then it is the same as if nothing is specified for them.

Any help will be much appreciated.
:confused:

Dutchy63 2nd October 2008 17:00

Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1
 
Silly me. The tutorial incorrectly says /etc/imap.conf.
It should say /etc/imapd.conf.

Made that change, and all is good.

Dutchy63 3rd October 2008 04:27

More problems now
 
After sorting the above, it all seemed ok.

However I am now getting the following when trying to login to Horde:
Oct 03 09:07:53 HORDE [notice] [horde] Login success for admin@mydomain.com.au [x.x.x.x] to Horde [on line 90 of "/usr/share/horde/login.php"]
Oct 03 09:08:45 HORDE [error] [horde] Error retrieving session data (id = hs4s45qs11nbh95j9e3e71j504): Lock wait timeout exceeded; try restarting transaction [on line 110 of "/usr/share/horde/lib/Horde/SessionHandler/mysql.php"]

I have dropped and recreated the horde database, and still get the above error.

I need help please.

topdog 3rd October 2008 09:47

Thats a problem accessing the sql database to store or retrieve session data double check that the user has access to those tables.

keyanooty 3rd October 2008 11:56

Regarding increse the speed on postfix to sending the emails
 
Hi

we are sending the news letters using php programme. right now in a 5 sec 100 emails are going out . this thing i wanna make 2 or 3 sec . could you please help me .


Regards
keyan

Dutchy63 3rd October 2008 12:07

The following is what Iget when I check horde's privileges:

mysql> SHOW GRANTS FOR 'horde'@'localhost';
+-----------------------------------------------------------------------------------------------+
| Grants for horde@localhost |
+-----------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'horde'@'localhost' IDENTIFIED BY PASSWORD '***********' |
| GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX ON `horde`.* TO 'horde'@'localhost' |
| GRANT SELECT, INSERT, UPDATE, DELETE ON `horde`.`turba_objects` TO 'horde'@'localhost' |
| GRANT SELECT, INSERT, UPDATE, DELETE ON `horde`.`kronolith_storage` TO 'horde'@'localhost' |
| GRANT SELECT, INSERT, UPDATE, DELETE ON `horde`.`kronolith_events` TO 'horde'@'localhost' |
+-----------------------------------------------------------------------------------------------+
5 rows in set (0.00 sec)

So it should have access.
Is there a log somewhere that I can check to get more information.? I have been through all the log in /var/log, and can find nothing relating to this.

Regards,
Mark

falko 4th October 2008 14:15

Not sure if this is a problem, but does the MySQL password contain any special characters?

Dutchy63 5th October 2008 10:12

Hi,
No, the MySQL password just has alphanumeric characters in it.

The thing that puzzles me the most about this being a problem with the user accessing the database, is that it was working. Web access via Horde, and as POP3/IMAP server was working. To the best of my knowledge nothing changed between then, and my attempting to use it the next day, and encountering the above errors. But then they always famous last words "nothing has changed". Obviously something has to cause this problem.

Your help an suggestions so far are appreciated.

Mark

falko 6th October 2008 16:02

Does your system maybe perform automatic updates?

gsp 9th October 2008 13:50

---I opened new thread as different subject..

Thanks


All times are GMT +2. The time now is 02:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.