General configuration
product_name
'_product_name', 'size' => 30, 'id' => "cfgprodname")); echo $input_prodname->show($RCI->getprop('product_name')); ?>
The name of your service (used to compose page titles)
skin_path
'_skin_path', 'size' => 30, 'id' => "cfgskinpath")); echo $input_skinpath->show($RCI->getprop('skin_path')); ?>
Relative path to the skin folder
temp_dir
'_temp_dir', 'size' => 30, 'id' => "cfgtempdir")); echo $input_tempdir->show($RCI->getprop('temp_dir')); ?>
Use this folder to store temp files (must be writebale for webserver)
log_dir
'_log_dir', 'size' => 30, 'id' => "cfglogdir")); echo $input_logdir->show($RCI->getprop('log_dir')); ?>
Use this folder to store log files (must be writebale for webserver)
ip_check
'_ip_check', 'id' => "cfgipcheck")); echo $check_ipcheck->show(intval($RCI->getprop('ip_check')), array('value' => 1)); ?>

This increases security but can cause sudden logouts when someone uses a proxy with changeing IPs.

des_key
'_des_key', 'size' => 30, 'id' => "cfgdeskey")); echo $input_deskey->show($RCI->getprop('des_key')); ?>
This key is used to encrypt the users imap password before storing in the session record

It's a random generated string to ensure that every installation has it's own key. If you enter it manually please provide a string of exactly 24 chars.

enable_caching
'_enable_caching', 'id' => "cfgcache")); echo $check_caching->show(intval($RCI->getprop('enable_caching')), array('value' => 1)); ?>
Database setup
TBD.
IMAP Settings
auto_create_user
'_auto_create_user', 'id' => "cfgautocreate")); echo $check_autocreate->show(intval($RCI->getprop('auto_create_user')), array('value' => 1)); ?>

A user is authenticated by the IMAP server but it requires a local record to store settings and contacts. With this option enabled a new user record will automatically be created once the IMAP login succeeds.

If this option is disabled, the login only succeeds if there's a matching user-record in the local RoundCube database what means that you have to create those records manually or disable this option after the first login.

SMTP Settings
TBD.
Display settings
locale_string
'_locale_string', 'size' => 6, 'id' => "cfglocale")); echo $input_locale->show($RCI->getprop('locale_string')); ?>
The default locale setting. This also defines the language of the login screen.

Enter a RFC1766 formatted locale name. Examples: en_US, de, de_CH, fr, pt_BR

failures ? 'disabled' : '') . ' />

'; if (!empty($_POST['submit'])) { echo "
\n"; echo '

Copy the following configurations and save them in two files (names above the text box)'; echo ' within the config/ directory of your RoundCube installation.

'; $textbox = new textarea(array('rows' => 20, 'cols' => 60, 'class' => "configfile")); echo '
main.inc.php
'; echo $textbox->show($RCI->create_config('main')); echo '
db.inc.php
'; echo $textbox->show($RCI->create_config('db')); echo '

'; } ?>