On 10/23/2010 03:57 PM, Odhiambo Washington wrote:
For the life of me, I just cannot get the webmail interface working, which is very annoying. For some strange reason, I cannot even get to see any login attempts from the application on my dovecot logs. I have read the webmail installation/configuration over and over and I am on FreeBSD.
Hi Odhiambo, Sorry that you are having a hard time getting webmail going. Don't worry though. We will get it figured out!
First, where does the groupware write its logs to? Perhaps when I find that, I can figure out the rest. My ErrorLog directive in Apache doesn't even seem to capture anything:(
The default configuration from Horde has Webmail Groupware writing its logs to: /tmp/horde.log. Also, you can change this in webmail/config/conf.php by changing the following value to something else: $conf['log']['name'] = '/tmp/horde.log';
I have copied my webmail folder to /usr/local/www/apache22/data/webmail. Is there a path I need to change, other than referring to this as DocumentRoot in Apache?
As long as your DocumentRoot in apache is defined as /usr/local/www/apache22/data then the webmail folder is correctly located in /usr/local/www/apache22/data/webmail.
I am not even able to login to the interface as the predefined admin user (during setup)!
I suspect that the culprit is either Webmail Groupware's smtp configuration or the MySQL setup. Please verify the following settings in webmail/config/conf.php: $conf['sql']['persistent'] = true; $conf['sql']['username'] = 'horde'; $conf['sql']['password'] = 'CHANGE - MYSQL PASSWORD'; $conf['sql']['socket'] = 'CHANGE - MYSQL SOCKET FILE LOCATION'; $conf['sql']['protocol'] = 'unix'; $conf['sql']['database'] = 'horde'; $conf['sql']['charset'] = 'utf-8'; $conf['sql']['ssl'] = false; $conf['sql']['splitread'] = false; $conf['sql']['phptype'] = 'mysql'; $conf['auth']['admins'] = array('CHANGE - ADMIN EMAIL ADDRESS'); $conf['token']['driver'] = 'sql'; $conf['mailer']['params']['host'] = 'localhost'; $conf['mailer']['params']['port'] = 25; $conf['mailer']['params']['localhost'] = 'localhost'; $conf['mailer']['params']['auth'] = false; $conf['mailer']['type'] = 'smtp'; Please verify the MySQL socket file. For the FreeBSD systems on which I have worked, it has been: "/tmp/mysql.sock". So, that entry should probably look like this: $conf['sql']['socket'] = '/tmp/mysql.sock'; Also, I have attached a working Webmail Groupware main configuration file (webmail/config/conf.php) from another FreeBSD installation. I hope that you find this useful.
And I am also wondering if in a virtual domain setup one has to login with full e-mail address (which sux!) or just the username.
I am not sure about this. All of the installations that I have done have had multiple virtual domains and so the full email address was obviously necessary. However, I see your point for an installation that only has one domain. We will need to take a look at the Horde support documentation to see if there is a way for the users to only enter the local part of their email address and have it then automatically use a single pre-specified domain name. You can research this too at http:/horde.org. FYI, Gordon