Hi there, i'm Riccardo Giuntoli writing from Italy. Today i'm trying to setup on my personal server Roundcube from FreeBSD ports tree. Installation goes right, this is the version: roundcube-0.1.20060328. I've correctly (perhaps) generate database and tables for the application, and i've edited the two configuration files:
# cat db.inc.php
<?php $rcmail_config = array(); $rcmail_config['db_dsnw'] = 'mysql://roundcubeuser:roundcubepass@unix(/tmp/mysql.sock)/roundcubedatabase'; $rcmail_config['db_dsnr'] = ''; $rcmail_config['db_backend'] = 'db'; $rcmail_config['db_max_length'] = 512000; // 500K $rcmail_config['db_persistent'] = TRUE; $rcmail_config['db_table_users'] = 'users'; $rcmail_config['db_table_identities'] = 'identities'; $rcmail_config['db_table_contacts'] = 'contacts'; $rcmail_config['db_table_session'] = 'session'; $rcmail_config['db_table_cache'] = 'cache'; $rcmail_config['db_table_messages'] = 'messages'; $rcmail_config['db_sequence_users'] = 'user_ids'; $rcmail_config['db_sequence_identities'] = 'identity_ids'; $rcmail_config['db_sequence_contacts'] = 'contact_ids'; $rcmail_config['db_sequence_cache'] = 'cache_ids'; $rcmail_config['db_sequence_messages'] = 'message_ids'; ?>
#
# cat main.inc.php
<?php $rcmail_config = array(); $rcmail_config['debug_level'] = 1; $rcmail_config['enable_caching'] = FALSE; $rcmail_config['message_cache_lifetime'] = '10d'; $rcmail_config['auto_create_user'] = TRUE; $rcmail_config['default_host'] = 'ssl://mail.BSDInformatica.biz:993'; $rcmail_config['default_port'] = 993; $rcmail_config['mail_domain'] = 'BSDInformatica.biz'; $rcmail_config['virtuser_file'] = '/etc/mail/aliases'; $rcmail_config['virtuser_query'] = '%u'; $rcmail_config['smtp_server'] = 'ssl://mail.BSDInformatica.biz'; $rcmail_config['smtp_port'] = 465; $rcmail_config['smtp_user'] = '%u'; $rcmail_config['smtp_pass'] = '%p'; $rcmail_config['smtp_auth_type'] = ''; $rcmail_config['smtp_log'] = TRUE; $rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size'); $rcmail_config['skin_path'] = 'skins/default/'; $rcmail_config['temp_dir'] = 'tmp/'; $rcmail_config['log_dir'] = 'log/'; $rcmail_config['session_lifetime'] = 10; $rcmail_config['ip_check'] = TRUE; $rcmail_config['locale_string'] = 'it'; $rcmail_config['date_short'] = 'D H:i'; $rcmail_config['date_long'] = 'd.m.Y H:i'; $rcmail_config['useragent'] = 'BSDInformatica wmail'; $rcmail_config['product_name'] = 'RoundCube Webmail'; $rcmail_config['imap_root'] = ''; $rcmail_config['sent_mbox'] = 'Sent'; $rcmail_config['trash_mbox'] = 'Trash'; $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash'); $rcmail_config['message_sort_col'] = 'date'; $rcmail_config['message_sort_order'] = 'DESC'; $rcmail_config['skip_deleted'] = FALSE; $rcmail_config['generic_message_footer'] = ''; $rcmail_config['mail_header_delimiter'] = NULL; $rcmail_config['pagesize'] = 40; $rcmail_config['timezone'] = 1; $rcmail_config['dst_active'] = TRUE; $rcmail_config['prefer_html'] = TRUE; $rcmail_config['prettydate'] = TRUE; ?>
#
But when i'm trying to connect to RoundCube login page, i cannot enter in the system, here you are the output from /var/log/auth.log:
May 6 15:43:22 thunderbird imapd[62673]: Login failed user=riccardo.giuntoli@BSDInformatica.biz auth=riccardo.giuntoli@BSDInformatica.biz host=mail.BSDInformatica.biz [84.19.178.198]
Remember that i've correctly installed openssl support for php, mysql version is mysql-server-4.1.18_2 and php version is php5-5.1.2_1. Please give me an hand to correct this problem, thank you all, best regards, Riccardo Giuntoli.
Check the RC logs. The RC install has a logs directory, see what they
tell you. Also, you may want to play with this setting:
$rcmail_config['smtp_auth_type'] = '';
Change it to:
$rcmail_config['smtp_auth_type'] = 'AUTH';
or
$rcmail_config['smtp_auth_type'] = 'LOGIN';
Nitin
Riccardo Giuntoli wrote:
Hi there, i'm Riccardo Giuntoli writing from Italy. Today i'm trying to setup on my personal server Roundcube from FreeBSD ports tree. Installation goes right, this is the version: roundcube-0.1.20060328. I've correctly (perhaps) generate database and tables for the application, and i've edited the two configuration files:
# cat db.inc.php
<?php $rcmail_config = array(); $rcmail_config['db_dsnw'] = 'mysql://roundcubeuser:roundcubepass@unix(/tmp/mysql.sock)/roundcubedatabase'; $rcmail_config['db_dsnr'] = ''; $rcmail_config['db_backend'] = 'db'; $rcmail_config['db_max_length'] = 512000; // 500K $rcmail_config['db_persistent'] = TRUE; $rcmail_config['db_table_users'] = 'users'; $rcmail_config['db_table_identities'] = 'identities'; $rcmail_config['db_table_contacts'] = 'contacts'; $rcmail_config['db_table_session'] = 'session'; $rcmail_config['db_table_cache'] = 'cache'; $rcmail_config['db_table_messages'] = 'messages'; $rcmail_config['db_sequence_users'] = 'user_ids'; $rcmail_config['db_sequence_identities'] = 'identity_ids'; $rcmail_config['db_sequence_contacts'] = 'contact_ids'; $rcmail_config['db_sequence_cache'] = 'cache_ids'; $rcmail_config['db_sequence_messages'] = 'message_ids'; ?>
#
# cat main.inc.php
<?php $rcmail_config = array(); $rcmail_config['debug_level'] = 1; $rcmail_config['enable_caching'] = FALSE; $rcmail_config['message_cache_lifetime'] = '10d'; $rcmail_config['auto_create_user'] = TRUE; $rcmail_config['default_host'] = 'ssl://mail.BSDInformatica.biz:993'; $rcmail_config['default_port'] = 993; $rcmail_config['mail_domain'] = 'BSDInformatica.biz'; $rcmail_config['virtuser_file'] = '/etc/mail/aliases'; $rcmail_config['virtuser_query'] = '%u'; $rcmail_config['smtp_server'] = 'ssl://mail.BSDInformatica.biz'; $rcmail_config['smtp_port'] = 465; $rcmail_config['smtp_user'] = '%u'; $rcmail_config['smtp_pass'] = '%p'; $rcmail_config['smtp_auth_type'] = ''; $rcmail_config['smtp_log'] = TRUE; $rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size'); $rcmail_config['skin_path'] = 'skins/default/'; $rcmail_config['temp_dir'] = 'tmp/'; $rcmail_config['log_dir'] = 'log/'; $rcmail_config['session_lifetime'] = 10; $rcmail_config['ip_check'] = TRUE; $rcmail_config['locale_string'] = 'it'; $rcmail_config['date_short'] = 'D H:i'; $rcmail_config['date_long'] = 'd.m.Y H:i'; $rcmail_config['useragent'] = 'BSDInformatica wmail'; $rcmail_config['product_name'] = 'RoundCube Webmail'; $rcmail_config['imap_root'] = ''; $rcmail_config['sent_mbox'] = 'Sent'; $rcmail_config['trash_mbox'] = 'Trash'; $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash'); $rcmail_config['message_sort_col'] = 'date'; $rcmail_config['message_sort_order'] = 'DESC'; $rcmail_config['skip_deleted'] = FALSE; $rcmail_config['generic_message_footer'] = ''; $rcmail_config['mail_header_delimiter'] = NULL; $rcmail_config['pagesize'] = 40; $rcmail_config['timezone'] = 1; $rcmail_config['dst_active'] = TRUE; $rcmail_config['prefer_html'] = TRUE; $rcmail_config['prettydate'] = TRUE; ?>
#
But when i'm trying to connect to RoundCube login page, i cannot enter in the system, here you are the output from /var/log/auth.log:
May 6 15:43:22 thunderbird imapd[62673]: Login failed user=riccardo.giuntoli@BSDInformatica.biz auth=riccardo.giuntoli@BSDInformatica.biz host=mail.BSDInformatica.biz [84.19.178.198]
Remember that i've correctly installed openssl support for php, mysql version is mysql-server-4.1.18_2 and php version is php5-5.1.2_1. Please give me an hand to correct this problem, thank you all, best regards, Riccardo Giuntoli.
N P List ha scritto:
Check the RC logs. The RC install has a logs directory, see what they tell you.
RC log nothing about this error.
Also, you may want to play with this setting: $rcmail_config['smtp_auth_type'] = ''; Change it to: $rcmail_config['smtp_auth_type'] = 'AUTH'; or $rcmail_config['smtp_auth_type'] = 'LOGIN';
Nothing change playing with those settings.
Nitin
Best regards, RG.