Author Topic: web interface is "hanging" when sending message - though message sent  (Read 3425 times)

Offline Casan

  • Newbie
  • *
  • Posts: 2
Hi,

Please help me track down what is wrong here, log files,
debugging techniques, etc.

I have an installation with freebsd6.2, and in a jail I have installed
postfix,dovecot,maia-mailguard(amavisd-new),roundcube-RC2,
following the guide at: http://www.purplehat.org/?page_id=4

I have noticed the following problems, which I don't blame the roundcube
software, but perhaps my own inability to figure it out.

I am experiencing 4 problems.

1.
Everytime I send a mesage, the client is hanging
with "sending message..." message in the notification area,
though the message is actually being sent and received.
the message sent, is not stored in the sent mail folder.
..connecting to the server via atmail.com demo webmail
 external server service works, though I'ld rather use
 roundcube.

2.
When trying to move a message to another folder,
I get a "could not remove the message" message in the notification area.

3.
when trying to delete a message from eg. inbox folder,
I get a "could not remove the message" message in the notification area.

4.
Disk usage says "over limit" all the time, though I know it is not.

Thanks, I've been troubling with this for almost a week combined,
so please help.

main.inc.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://smtp.myroundcubeserver.dk:993';
$rcmail_config['default_port'] = '993';
$rcmail_config['username_domain'] = '';
$rcmail_config['mail_domain'] = '';
$rcmail_config['virtuser_file'] = '';
$rcmail_config['virtuser_query'] = '';
$rcmail_config['smtp_server'] = 'smtp.myroundcubeserver.dk';
$rcmail_config['smtp_port'] = '10025';
$rcmail_config['smtp_user'] = '';
$rcmail_config['smtp_pass'] = '';
$rcmail_config['smtp_auth_type'] = '';
$rcmail_config['smtp_helo_host'] = 'smtp.myroundcubeserver.dk';
$rcmail_config['smtp_log'] = TRUE;
$rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size');
$rcmail_config['skin_path'] = 'skins/default/';
$rcmail_config['skin_include_php'] = FALSE;
$rcmail_config['temp_dir'] = 'temp/';
$rcmail_config['log_dir'] = 'logs/';
$rcmail_config['session_lifetime'] = 10;
$rcmail_config['ip_check'] = false;
$rcmail_config['double_auth'] = false;
$rcmail_config['des_key'] = 'rcmail-!24ByteDESkey*Str';
$rcmail_config['locale_string'] = 'en';
$rcmail_config['date_short'] = 'D H:i';
$rcmail_config['date_long'] = 'd.m.Y H:i';
$rcmail_config['date_today'] = 'H:i';
$rcmail_config['useragent'] = 'RoundCube Webmail';
$rcmail_config['product_name'] = 'RoundCube Webmail';
$rcmail_config['imap_root'] = '';
$rcmail_config['drafts_mbox'] = 'Drafts';
$rcmail_config['junk_mbox'] = 'Junk';
$rcmail_config['sent_mbox'] = 'Sent';
$rcmail_config['trash_mbox'] = 'Trash';
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
$rcmail_config['protect_default_folders'] = FALSE;
$rcmail_config['skip_deleted'] = FALSE;
$rcmail_config['read_when_deleted'] = TRUE;
$rcmail_config['flag_for_deletion'] = TRUE;
$rcmail_config['enable_spellcheck'] = TRUE;
$rcmail_config['spellcheck_uri'] = '';
$rcmail_config['spellcheck_languages'] = NULL;
$rcmail_config['generic_message_footer'] = '';
$rcmail_config['mail_header_delimiter'] = NULL;
$rcmail_config['enable_htmleditor'] = FALSE;
$rcmail_config['dont_override'] = array();
$rcmail_config['javascript_config'] = array('read_when_deleted', 'flag_for_deletion');
$rcmail_config['include_host_config'] = FALSE;

$rcmail_config['pagesize'] = 40;
$rcmail_config['timezone'] = intval(date('O'))/100 - date('I');
$rcmail_config['dst_active'] = (bool)date('I');
$rcmail_config['prefer_html'] = TRUE;
$rcmail_config['prettydate'] = TRUE;
$rcmail_config['message_sort_col'] = 'date';
$rcmail_config['message_sort_order'] = 'DESC';
$rcmail_config['draft_autosave'] = 300;
$rcmail_config['max_pagesize'] = 200;


db.inc.php
----------
$rcmail_config = array();
$rcmail_config['db_dsnw'] = 'mysql://roundcubeuser:roundcubepassword@localhost/roundcube';
$rcmail_config['db_dsnr'] = '';
$rcmail_config['db_backend'] = 'db';
$rcmail_config['db_max_length'] = 512000; // 500K
$rcmail_config['db_persistent'] = FALSE;
$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';

Offline Casan

  • Newbie
  • *
  • Posts: 2
Re: web interface is "hanging" when sending message - though message sent
« Reply #1 on: November 21, 2007, 07:00:32 PM »
problem 1. 2. and 3. solved.
the problem was caused by quota plugins that have been disabled in dovecot.conf
by enabling more loggin in dovecot via the conf file, it was easier to find that it was dovecot
that saw a 0Kb quota on each directory, and as a result all writing was blocked.

problem 4. is related, but I'll call this problem closed and say its dovecot related.

And I must say, roundcube is looking pretty fine.