Topic: Cannot Log into ClueBringer
======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.04.1
- Related log if you're reporting an issue: /apache2/error.log
====
Hi, I'm having problems logging into ClueBringer (and probably AWStats, I haven't checked). I've tried following this guide to try and resolve this. I've gotten further than before, but am now getting an Internal Server Error.
Failed to run mod-auth-mysql for /cluebringer/: No database name specified
AH01796: AuthType basic configured without corresponding module
Here are my configuration files (and the password listed for vmail has been changed, so what you see isn't actually the password):
#Auth_MySQL_Info 127.0.0.1 vmail La1QRIqW5aDGnHlhuP6ZWl345K6BwtZ1
#Auth_MySQL_General_DB vmail
<IfModule mod_dbd.c>
DBDriver mysql
DBDParams "host=127.0.0.1 dbname=vmail user=vmail pass=La1QRIqW5aDGnHlhuP6ZWl345K6BwtZ1"
DBDMin 1
DBDKeep 8
DBDMax 20
DBDExptime 300
</IfModule>
# File generated by iRedMail:
#
#
# File generated by iRedMail:
#
# Version: 0.8.7
# Project: http://www.iredmail.org/
#
# Community: http://www.iredmail.org/forum/
##
# SECURITY WARNING:
#
# Since libapache2-mod-auth-mysql doesn't support advance SQL query, both
# global admins and normal domain admins are able to login to this webui.# Note: Please refer to /etc/apache2/sites-available/default-ssl.conf for SSL/TLS setting.
<Directory /usr/share/postfix-cluebringer-webui/webui/>
DirectoryIndex index.php
AuthType basic
AuthName "Authorization Required"##############################
# mod_auth_mysql (deprecated)#
##############################
# AuthMYSQL on
# AuthBasicAuthoritative Off
# AuthUserFile /dev/null
#
# # Database related.
# AuthMySQL_Password_Table mailbox
# Auth_MySQL_Username_Field username
# Auth_MySQL_Password_Field password
#
# # Password related.
# AuthMySQL_Empty_Passwords off
# AuthMySQL_Encryption_Types Crypt_MD5
# Auth_MySQL_Authoritative On#################
# mod_authn_dbd #
#################
# Password related.
AuthBasicProvider dbd
AuthDBDUserPWQuery "SELECT password FROM mailbox WHERE mailbox.username=%s"Order allow,deny
Allow from all
Require valid-user
</Directory>
Can somebody please help me with this?
Thanks!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.