PDA

View Full Version : Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 - issue


c0mrade
6th July 2008, 01:07
Hi all,

This howto is really great by the way.. and I think I did everything properly .. I double checked the tutorial .. and done everything twice and I get the same result.. so maybe someone can tell me what did I do wrong? A fatal error has occurred
Could not connect to database for SQL SessionHandler.
Details have been logged for the administrator. I get this message when I try to run the horde mail for the first time .. you can see it yourself here (https://panel.komentari.info) I used google to look up some possible solutions .. came up with this (http://www.preocupao.net/could-not-connect-to-database-for-sql-sessionhandler)link but still it didn't help. I'm stuck and really don't know what to do next .. here is my horde.log file Jul 04 19:16:05 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 04 19:16:07 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 04 19:16:43 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 04 19:19:01 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 04 19:20:59 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 04 19:24:07 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 04 19:24:23 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 04 19:25:04 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 05 12:59:32 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 05 15:03:24 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 05 15:04:50 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
Jul 05 15:06:48 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 319 of "/usr/share/horde/lib/Horde/S
essionHandler/mysql.php"]
here is content of line 319 of /usr/share/horde/lib//Horde/S
essionHandler/mysql.php if (!$this->_db = @$connect($this->_params['hostspec'],
$this->_params['username'],
$this->_params['password'])) {
Horde::fatal(PEAR::raiseError('Could not connect to database for SQL SessionHandler.'), __FILE__, __LINE__);
}
I really can't figure out what is wrong, maybe my admin.sql ? here it is USE horde;
REPLACE INTO horde_users (user_uid,user_pass)
VALUES (
'emir@mail.panel.komentari.info',
md5('ccc1234xxx'),
);
and I get this error from ERROR 1064 (42000) at line 2: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 5
so I changed admin.sql to this USE horde;
REPLACE INTO horde_users (user_uid,user_pass)
VALUES ('emir@mail.panel.komentari.info',md5('ccc1234xxx' )); and it executed without sql error .. so that is possible error but I really can't figure out what went wrong .. Any hints ? Thank you in advance

topdog
6th July 2008, 10:04
The problem is that horde cannot connect to the mysql database to store the session information.

Please ensure that the details in your horde conf.php are correct and the user can connect to the database from the command line.

c0mrade
7th July 2008, 02:44
Thank you for your answer, you were right .. I didn't modify the conf.php properly $conf['sessionhandler']['params']['username'] = 'horde';
$conf['sessionhandler']['params']['password'] = 'myhorde'; these fields .. anyways I just pasted these so others can solve the problem if they encounter it .. I have another question though :) now I can't login to horde at all .. I've checked table horde_users and it does have entry and password with md5 in the mysql but still I cannot login, do you perhaps know what is the problem this time .. Thank you

topdog
7th July 2008, 09:38
What is the error in the horde log file ?

c0mrade
7th July 2008, 13:31
this doesn't appear to be an error but still I don't get transfered anywhere from index or login here is horde.log Jul 06 16:19:26 HORDE [error] [horde] FAILED LOGIN for horde [77.77.197.68] to Horde [on line 116 of "/usr/share/horde/login.php"]
Jul 06 16:28:49 HORDE [notice] [horde] Login success for emir@mail.panel.komentari.info [77.77.197.68] to Horde [on line 90 of "/usr/share/ho
rde/login.php"]
Jul 06 16:30:56 HORDE [error] [horde] FAILED LOGIN for admin@mail.panel.komentari.info [77.77.197.68] to Horde [on line 116 of "/usr/share/ho
rde/login.php"]
Jul 06 16:31:40 HORDE [error] [horde] FAILED LOGIN for alma@mail.panel.komentari.info [77.77.197.68] to Horde [on line 116 of "/usr/share/hor
de/login.php"]
Jul 06 16:33:32 HORDE [notice] [horde] Login success for emir@mail.panel.komentari.info [77.77.197.68] to Horde [on line 90 of "/usr/share/ho
rde/login.php"]
Jul 06 16:38:22 HORDE [notice] [horde] Login success for emir@mail.panel.komentari.info [77.77.197.68] to Horde [on line 90 of "/usr/share/ho
rde/login.php"]
Jul 06 16:41:57 HORDE [notice] [horde] Login success for emir@mail.panel.komentari.info [77.77.197.68] to Horde [on line 90 of "/usr/share/ho
rde/login.php"]

topdog
7th July 2008, 15:27
even when you login as emir@mail.panel.komentari.info ? because that gets logged as a success

c0mrade
7th July 2008, 17:56
I don't know why but it only seemed to accepts logins when using https .. I tried to create virtual host for mail http://hostname entry in httpd.conf but nevermind . Now when I managed to login things get more weird . This is how things look when I login as admin screenshot here.
(http://postavi.com/images/pl813b2szusp6gx33s90.jpg) I get message login failed although I successfully logged in. Once I logged in as admin I added one user alma@mail.panel.komentari.info and here (http://postavi.com/images/p44v6tyqu3zl485huf2d.jpg) is screenshot when I login with created user. Same thing login failed although I logged in successfully "login failed" .. here is my horde.log Jul 07 07:34:35 HORDE [notice] [horde] Login success for emir@mail.panel.komentari.info [77.77.197.68] to Horde [on line 90 of "/usr/share/ho
rde/login.php"]
Jul 07 07:34:47 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as emir@mail.panel.komentari.info [on line 258 of
"/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 07:34:47 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as emir@mail.panel.komentari.info [on line 258 of
"/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 07:34:48 HORDE [error] [horde] Error writing session data: MySQL server has gone away [on line 147 of "/usr/share/horde/lib/Horde/Sess
ionHandler/mysql.php"]
Jul 07 07:38:35 HORDE [notice] [horde] Login success for alma@mail.panel.komentari.info [77.77.197.68] to Horde [on line 90 of "/usr/share/ho
rde/login.php"]
Jul 07 07:38:47 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as alma@mail.panel.komentari.info [on line 258 of
"/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 07:38:50 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as alma@mail.panel.komentari.info [on line 258 of
"/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 07:40:13 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as alma@mail.panel.komentari.info [on line 258 of
"/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 07:40:13 HORDE [error] [imp] Error writing session data: MySQL server has gone away [on line 147 of "/usr/share/horde/lib/Horde/Sessio
nHandler/mysql.php"]
Jul 07 07:40:16 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as emir@mail.panel.komentari.info [on line 258 of
"/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 07:40:17 HORDE [error] [horde] Error writing session data: MySQL server has gone away [on line 147 of "/usr/share/horde/lib/Horde/Sess
ionHandler/mysql.php"]
.. maybe time to try another webmail or ?

topdog
7th July 2008, 18:55
Okay i see what is happening, you are logging into horde but the imp login to the imap server fails, check the maillog to see why you cannot login to the imap server.

c0mrade
7th July 2008, 19:22
mm I'd like to check it but I don't know what is the location of maillog .. what is the exact file name so I look it up ?

topdog
7th July 2008, 19:32
/var/log/maillog

c0mrade
7th July 2008, 19:34
Here is some of last entries .. whole file is too big to paste Jul 7 09:08:51 emir imap[23932]: badlogin: localhost.localdomain [127.0.0.1] plaintext alma@mail.panel.komentari.info SASL(-13): authenticat
ion failure: checkpass failed
Jul 7 09:08:57 emir last message repeated 2 times
Jul 7 09:09:18 emir update_sanesecurity.sh[7849]: None of '/var/clamav/daily.inc', '/var/clamav/main.inc',
Jul 7 09:09:18 emir update_sanesecurity.sh[7855]: '/var/clamav/main.cvd' found in your database directory. Either '/var/clamav' is NOT
Jul 7 09:09:18 emir update_sanesecurity.sh[7861]: the correct database path or there is something wrong with your
Jul 7 09:09:18 emir update_sanesecurity.sh[7869]: ClamAV installation. This path came from your '/usr/bin/clamscan' so I would guess
Jul 7 09:09:18 emir update_sanesecurity.sh[7875]: you need to check your clamd.conf file and/or '/var/clamav'
Jul 7 09:09:18 emir update_sanesecurity.sh[7881]: Exiting.
Jul 7 09:10:32 emir master[28135]: process 23932 exited, status 0
Jul 7 09:11:25 emir master[11944]: about to exec /usr/lib/cyrus-imapd/ctl_cyrusdb
Jul 7 09:11:25 emir master[11945]: about to exec /usr/lib/cyrus-imapd/squatter
Jul 7 09:11:25 emir squatter[11945]: indexing mailboxes
Jul 7 09:11:25 emir squatter[11945]: done indexing mailboxes
Jul 7 09:11:25 emir ctl_cyrusdb[11944]: checkpointing cyrus databases
Jul 7 09:11:25 emir ctl_cyrusdb[11944]: archiving database file: /var/lib/imap/annotations.db
Jul 7 09:11:25 emir ctl_cyrusdb[11944]: archiving database file: /var/lib/imap/mailboxes.db
Jul 7 09:11:25 emir ctl_cyrusdb[11944]: done checkpointing cyrus databases
Jul 7 09:11:25 emir master[28135]: process 11945 exited, status 0
Jul 7 09:11:25 emir master[28135]: process 11944 exited, status 0
Jul 7 09:13:51 emir imap[7669]: accepted connection
Jul 7 09:13:51 emir master[13659]: about to exec /usr/lib/cyrus-imapd/imapd
Jul 7 09:13:51 emir imap[13659]: executed
Jul 7 09:13:51 emir imap[7669]: badlogin: localhost.localdomain [127.0.0.1] plaintext alma@mail.panel.komentari.info SASL(-13): authenticati
on failure: checkpass failed
Jul 7 09:13:57 emir last message repeated 2 times
Jul 7 09:15:25 emir master[28135]: process 7669 exited, status 0
Jul 7 09:23:51 emir imap[13659]: accepted connection
Jul 7 09:23:51 emir master[24083]: about to exec /usr/lib/cyrus-imapd/imapd
Jul 7 09:23:51 emir imap[24083]: executed
Jul 7 09:23:51 emir imap[13659]: badlogin: localhost.localdomain [127.0.0.1] plaintext alma@mail.panel.komentari.info SASL(-13): authenticat
ion failure: checkpass failed
Jul 7 09:23:57 emir last message repeated 2 times
Jul 7 09:25:03 emir master[28135]: process 13659 exited, status 0

topdog
7th July 2008, 19:40
Yes your sasl authentication is failing make sure that the details you used for the pam_mysql configuration is correct and can actually connect to the database using them.

c0mrade
7th July 2008, 21:49
Hi, sorry I forget to update pam_mysql password from hordepassword to acctual horde password .. anyway I get the same error as in previous screen shots just different things in horde.log now .. what did I miss now ? Jul 07 11:28:02 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as emir@mail.panel.komentari.info [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 11:28:04 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as emir@mail.panel.komentari.info [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 11:29:00 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as alma@mail.panel.komentari.info [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 11:33:28 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as emir@mail.panel.komentari.info [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 11:34:01 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as alma@mail.panel.komentari.info [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 11:34:01 HORDE [error] [horde] Error writing session data: MySQL server has gone away [on line 147 of "/usr/share/horde/lib/Horde/SessionHandler/mysql.php"]
Jul 07 11:38:26 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as emir@mail.panel.komentari.info [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 11:39:01 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as alma@mail.panel.komentari.info [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 11:44:04 HORDE [notice] [horde] Login success for emir@mail.panel.komentari.info [77.77.197.68] to Horde [on line 90 of "/usr/share/horde/login.php"]
Jul 07 11:44:16 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as emir@mail.panel.komentari.info [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]
Jul 07 11:44:17 HORDE [error] [imp] FAILED LOGIN 77.77.197.68 to localhost:143[imap/notls] as emir@mail.panel.komentari.info [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]

topdog
8th July 2008, 07:00
I suggest that you run through the tutorial with the defaults on a testbox first, then do the modifications for your environment later.

c0mrade
8th July 2008, 16:29
thank you for your replies, by default you mean same values you used ?

shernand
12th July 2008, 19:18
i'm getting this error in the maillog while i login the first time with a new account :

Jul 12 12:05:19 whiskey imap[15489]: autocreate_sieve: Unable to open sieve script /etc/default_sieve. Check permissions
Jul 12 12:05:19 whiskey imap[15489]: autocreate_sieve: User testx1@whiskey.xxx.com, default sieve script creation failed
Jul 12 12:05:19 whiskey imap[15517]: accepted connection

Due to this i'm missing the sent-mail, draft, spam, trash on imp. The folders are created as you can see below, but the user can't access them.

Jul 12 12:05:19 whiskey imap[15489]: autocreateinbox: User testx1@whiskey.xxx.com, subfolder INBOX.sent-mail creation succeeded.
Jul 12 12:05:19 whiskey imap[15489]: autocreateinbox: User testx1@whiskey.xxx.com, subscription to INBOX.sent-mail succeeded
...etc

This seems to be related with this on imapd.conf :

autocreate_sieve_script: /etc/default_sieve
autocreate_sieve_compiledscript: /etc/default_sieve_script.bc

i tryed changing this to another directory and chowned it as cyrus:mail, i even tryied with 777 permissions but still i'm getting this message.

What could be causing this?

Thanks

-- Shernand

falko
13th July 2008, 14:15
What's the output of ls -la /etc/default_sieve?

topdog
13th July 2008, 15:25
you only have to enable those options if you want to use the default scripts.

shernand
16th July 2008, 16:37
topdog - you are correct, the sieve script issue seems not to be related with the mailbox issue, but i still only can access the inbox with any account. I can't access drafts, sent-mail,etc. Do you have any idea why it's creating the folders and not allowing any users to access them?.

falko - no such file/directory

Thanks

--Shernand

topdog
16th July 2008, 16:41
That is possibly because due to the sieve scripts not existing the auto subscription part did not work.

Make sure that the auto subscription option in your config has the correct directories, then create a new email address and access it or send a mail to it and see if the subscription does work.

For the existing accounts you can use cm to subscribe the user to the mailboxes.

lieb12
28th January 2009, 11:53
Good day!

Great how to thanks!

So sorry to bother you again with this problem but I have tried everything from the localhost.localdomain and r flag to cookie settings and all with no luck.

I also cant login to imp but horde is fine. IMP auth is set to full.

Below are some log files.

horde log
Jan 28 11:44:43 HORDE [error] [imp] FAILED LOGIN 10.3.4.219 to 127.0.0.1:143[imap/notls] as admin@domain [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]

secure log
Jan 28 11:01:18 success dovecot-auth: pam_succeed_if(dovecot:auth): error retrieving information about user admin
Jan 28 11:01:20 success dovecot-auth: pam_unix(dovecot:auth): check pass; user unknown
Jan 28 11:01:20 success dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser= rhost=::

maillog
Jan 28 09:53:38 success dovecot: imap-login: Aborted login: user=<admin@domain>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured.

topdog
28th January 2009, 11:59
The problem is you are using dovecot not cyrus-imapd. The howto uses cyrus-imapd not dovecot.

ask2me007
13th April 2009, 20:04
Dear Topdog

Thanks for your great effort in creating a howto for the mailserver setup.I have installed the mail server as per your how to.Even though I managed to login to horde, i cant sent mail through imp.When I click the sent button, it shows a error message

"There was an error sending your message: Failed to connect to localhost:25 [SMTP: Invalid response code received from server (code: 451, response: Temporary local problem - please try later)]"

When i checked the horde log, it showed the following error.

"Apr 13 21:13:12 HORDE [error] [imp] Failed to connect to localhost:25 [SMTP: Invalid response code received from server (code: 451, response: Temporary local problem - please try later)] [on line 1059 of "/usr/share/horde/imp/compose.php"]
Apr 13 21:13:12 HORDE [debug] [horde] SQL Query by SessionHandler_mysql::read(): query = "SELECT session_data FROM horde_sessionhandler WHERE session_id = 'rooich0eqtsntihoj3q83e03j0' AND session_lastmodified > 1240067952 FOR UPDATE" [on line 105 of "/usr/share/horde/lib/Horde/SessionHandler/mysql.php"]"
I am struck up with the installation.
My configuration file is


nf['debug_level'] = E_ALL;
$conf['debug_level'] = debug;
$conf['max_exec_time'] = 0;
$conf['compress_pages'] = true;
$conf['umask'] = 077;
$conf['use_ssl'] = 2;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
$conf['server']['port'] = $_SERVER['SERVER_PORT'];
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/';
$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = 'hordepassword';
$conf['sql']['socket'] = '/var/lib/mysql/mysql.sock';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['database'] = 'horde';
$conf['sql']['charset'] = 'iso-8859-1';
$conf['sql']['phptype'] = 'mysqli';
$conf['auth']['admins'] = array('Administrator', 'ask@ksfe.com');
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['params']['driverconfig'] = 'horde';
$conf['auth']['params']['table'] = 'horde_users';
$conf['auth']['params']['username_field'] = 'user_uid';
$conf['auth']['params']['password_field'] = 'user_pass';
$conf['auth']['params']['encryption'] = 'md5-hex';
$conf['auth']['params']['show_encryption'] = false;
$conf['auth']['driver'] = 'sql';
$conf['signup']['allow'] = false;
//$conf['log']['priority'] = PEAR_LOG_NOTICE;
$conf['log']['priority'] = LOG_DEBUG;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;
$conf['prefs']['params']['driverconfig'] = 'horde';
$conf['prefs']['driver'] = 'sql';
$conf['datatree']['params']['driverconfig'] = 'horde';
$conf['datatree']['driver'] = 'sql';
$conf['group']['driver'] = 'datatree';
$conf['cache']['default_lifetime'] = 1800;
$conf['cache']['params']['dir'] = Horde::getTempDir();
$conf['cache']['params']['gc'] = 86400;
$conf['cache']['driver'] = 'file';
$conf['token']['driver'] = 'none';
$conf['mailer']['params']['auth'] = '0';
$conf['mailer']['type'] = 'smtp';
$conf['vfs']['params']['driverconfig'] = 'horde';
$conf['vfs']['type'] = 'sql';
$conf['sessionhandler']['params']['persistent'] = false;
$conf['sessionhandler']['params']['rowlocking'] = true;
$conf['sessionhandler']['params']['socket'] = '/var/lib/mysql/mysql.sock';
$conf['sessionhandler']['params']['protocol'] = 'unix';
$conf['sessionhandler']['params']['hostspec'] = 'localhost';
$conf['sessionhandler']['params']['username'] = 'horde';
$conf['sessionhandler']['params']['password'] = 'hordepassword';
$conf['sessionhandler']['params']['database'] = 'horde';
$conf['sessionhandler']['type'] = 'mysql';
$conf['problems']['email'] = 'webmaster@ksfe.com';
$conf['problems']['maildomain'] = 'ksfe.com';
$conf['problems']['tickets'] = false;
$conf['menu']['apps'] = array();
$conf['menu']['always'] = true;
$conf['menu']['links']['help'] = 'authenticated';
$conf['menu']['links']['help_about'] = true;
$conf['menu']['links']['options'] = 'authenticated';
$conf['menu']['links']['problem'] = 'never';
$conf['menu']['links']['login'] = 'all';
$conf['menu']['links']['logout'] = 'authenticated';
$conf['hooks']['permsdenied'] = false;
$conf['hooks']['username'] = false;
$conf['hooks']['preauthenticate'] = false;
$conf['hooks']['postauthenticate'] = false;
$conf['hooks']['authldap'] = false;
$conf['portal']['fixed_blocks'] = array();
$conf['accounts']['driver'] = 'null';
$conf['imsp']['enabled'] = false;
$conf['kolab']['enabled'] = false;

Pls help me to settle this problem.

Thanks in advance

topdog
14th April 2009, 10:04
The problem is not a horde problem it is an smtp problem you need to check /var/log/exim/main.log and see what the error is.

I suspect that your clamav is not running that is why you are getting that message.

ask2me007
17th April 2009, 18:27
The problem is not a horde problem it is an smtp problem you need to check /var/log/exim/main.log and see what the error is.

I suspect that your clamav is not running that is why you are getting that message.

Thanks Mr.Topdog
When i checked the exim log i found the error message

2009-04-17 18:39:23 malware acl condition: clamd: ClamAV returned /var/spool/exim/scan/1LwcCZ-0001x2-Ne: lstat() failed: Permission denied. ERROR
2009-04-22 18:39:23 H=localhost.localdomain (localhost) [127.0.0.1] F=<ask@example.com> temporarily rejected after DATA
-MsgID: 1Lwcin-0003kU-6k:
2009-04-22 19:13:14 malware acl condition: clamd: ClamAV returned /var/spool/exim/scan/1Lwcin-0003kU-6k: lstat() failed: Permission denied. ERROR
2009-04-22 19:13:14 H=localhost.localdomain (pop.example.com) [127.0.0.1] F=<ask@example.com> temporarily rejected after DATA
-MsgID: 1LwdBa-0003vv-1D:
2009-04-22 19:42:26 malware acl condition: clamd: ClamAV returned /var/spool/exim/scan/1LwdBa-0003vv-1D: lstat() failed: Permission denied. ERROR
2009-04-22 19:42:26 H=localhost.localdomain (localhost) [127.0.0.1] F=<admn@example.com> temporarily rejected after DATA
0 messages delivered immediately to 0 total recipients

When I tested smtp it was ready to accept connection.But it makes problem at the time of sending data.I suspect that ther is some dns problem .The problem has already seen in my previous installation.When i send mail using horde, it only shows the username and never shows the domain name at the end of the From email address and the Recepients address.
I know this is not at all a horde problem or the howto.If you dot mind, your help is always welcome.
Thank you

topdog
19th April 2009, 19:11
That seems like a permissions problem with selinux try disabling it and see if clamav works, you can then create a custom policy using audit2allow.