Hello,

i try to configurate webcyradm with ox. But i canīt login into, because the mysql db differs from that what webcyradm expect.

Has somebody get webcyradm working with ox?? Can someone give me some hints?

Configuration File of webcyradm:

...
# The Cyrus login stuff
$CYRUS = array(
'HOST' => 'localhost',
'PORT' => 143,
'ADMIN' => 'oxadmin',
'PASS' => 'secret'
);

/* DB_TYPE

Possible Values are:
o mysql
o pgsql

To operate a mailsystem with postgreSQL you will need a patch for
Postfix.

Other Databases need to be supported by PAM and postfix
*/

$DB = array(
'TYPE' => 'mysql',
'USER' => 'oxadmin',
'PASS' => 'secret',
'PROTO' => 'unix', // set to "tcp" for TCP/IP
'HOST' => 'localhost',
'NAME' => 'open-xchange-db'
);
# SQLWhite support
# Set $sqlwhite = 0; to disable SQLWhite support,
# Set $sqlwhite = 1; to enable SQLWhite support.
$sqlwhite = 1;

# Table name for whitelist/blacklist functionality within SQLWhite
$whitelist = "whitelist";


$DB['DSN'] = sprintf('%s://%s:%s@%s+%s/%s', $DB['TYPE'], $DB['USER'],
$DB['PASS'], $DB['PROTO'],
$DB['HOST'], $DB['NAME']);

# Where should Xerxes write its log to?
$LOG_DIR = "/var/log/xerxes/";

# The default timeout in seconds for a session, after that you have to login again
$SESS_TIMEOUT = 1000;

# The default quota sets the default quota for new domains
$DEFAULT_QUOTA = 20000;

# NOTE: CURRENTLY, ONLY PLAIN PASSWORDS ARE SUPPORTED.
#
#
# Defines if passwords are encrypted or not.
# Valid Values:
# - plain 0 No encription is used
# - crypt 1 (shadow compatible encription)
# - mysql 2 (MySQL PASSWORD function)
# - md5 3 (MD5 digest)
$CRYPT = "plain";

# Xerxes is compatible with cyrus-imapd-2.0.16 (and earlier?)
# however, if you are using 2.1.x and wish to use email addresses
# with .'s in them such as 'john.doe@mydomain.com' you can set this
# option DOMAIN_AS_PREFIX to '1'. NOTE: you also have to add this
# line to your imapd.conf file:
#### imapd.conf: ####
# unixhierarchysep: yes

####
# This configuration argument is recommended for current versions of
# Xerxes.
$DOMAIN_AS_PREFIX = 1;
####

# if you want to use cyrus 2.2.x's virtual domains support with fully
# qualified usernames in the mailbox name you can set this option
# ENABLE_FQUN to '1'.
# NOTE: you must also set $CRYPT = "plain" unless you patch your sasl library
# using the patch from http://frost.ath.cx/software/cyrus-sasl-patches/
# with sasl auxprop's sql/mysql plugin in which case you can use "crypt".
# In your sasl smtpd.conf and your imapd.conf make your sql_statement and
# sasl_sql_statement look like this:
# select password from accountuser where username='%u@%r' or (username='%u' and domain_name='')
# This will allow you to use a user with a non fully qualified username for
# the admin user.
# and add this line to your imapd.conf.
#### imapd.conf: ####
# virtdomains: yes

####
# This is recommended for the current version of Xerxes.
$ENABLE_FQUN = 1;

# At the moment, Xerxes supports two methods of password change:
# - through sql
# - poppassd
# sql is the default
$PASSWORD_CHANGE_METHOD = "sql";

# Turn up error reporting level. This overrides settings in your php.ini
#
# E_ALL - All errors and warnings
# E_ERROR - fatal run-time errors
# E_WARNING - run-time warnings (non-fatal errors)
# E_PARSE - compile-time parse errors
# E_NOTICE - run-time notices (these are warnings which often result
# from a bug in your code, but it's possible that it was
# intentional (e.g., using an uninitialized variable and
# relying on the fact it's automatically initialized to an
# empty string)
# E_CORE_ERROR - fatal errors that occur during PHP's initial startup
# E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
# initial startup
# E_COMPILE_ERROR - fatal compile-time errors
# E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
# E_USER_ERROR - user-generated error message
# E_USER_WARNING - user-generated warning message
# E_USER_NOTICE - user-generated notice message

error_reporting(E_ERROR);

$VERSION="0.8";

# Define reserved Emailadresses (Separated by comma):
$RESERVED="postmaster,root";
...

Greez GhostTalker