cmdinternet
Apr 29 2003, 12:34 PM
My webmail for my domain was working fine. now when i go to webmail.mydomain.com it comes up with my home page and not the horde webmail page. Any Ideas on what happened. webmail for all other domains on the server are working fine.
cmdinternet
Apr 29 2003, 04:09 PM
UPDATE...
With all my other domains the webmail comes up but no user names work to log in. I had just used nighthawks script to change my hostname. Does that have anything to do with my problem?
movement3
Apr 30 2003, 01:21 AM
by chance is webmail.mydomain.com an IP-based domain? if so, the A record for webmail needs to point to the server ip address.
for the authentication problem, here is the fix:
edit
/home/httpd/vhosts/webmail/horde/imp/config/servers.php
$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'localhost',
'protocol' => 'imap',
'port' => 143,
'folders' => '',
'namespace' => 'INBOX.',
'maildomain' => $DomainName,
'smtphost' => 'localhost',
'realm' => $DomainName,
'preferred' => ''
to:
$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'localhost',
'protocol' => 'imap/notls',
'port' => 143,
'folders' => '',
'namespace' => 'INBOX.',
'maildomain' => $DomainName,
'smtphost' => 'localhost',
'realm' => $DomainName,
'preferred' => ''
then this file:
/home/httpd/vhosts/webmail/horde/config/horde.php
/**
** Horde Authentication
**/
// options are currently 'imap', 'ldap', 'mcal', 'sql', and 'ftp'.
$conf['auth']['driver'] = 'imap';
<===========make sure it says imap
// An array holding any parameters that the Auth object will need to
// function correctly.
$conf['auth']['params'] = array();
$conf['auth']['params']['dsn'] = '{localhost:143/notls}INBOX';
<==========add this above line
and finally you may need to edit your php.ini to have the file_uploads variable on:
$ cat /etc/php.ini |grep file_up
file_uploads = On
restart apache if you edit the php.ini file. as always make backups of any system conf file. if you wish, you can also submit a trouble ticket to Rackshack, they fixed this problem for me. good luck