Roundcube Community Forum

Release Support => Older Versions => 0.1 Beta 1 => Topic started by: nulldevice on June 30, 2006, 09:35:18 AM

Title: Mail not actually being sent
Post by: nulldevice on June 30, 2006, 09:35:18 AM
Here's a poser.

I compose a message, or hit reply. Hit "send."

Wait. The grey box appears up top, there's indication that something's happening...then I'm back at the main page, and there's no indication my message actually got sent. No green box, no "replied" icon, and...well, nobody receiving it on the other end. My message is now gone, off into the ether, never to be seen again.

Obviously this makes my email client not especially useful.

No errors in the error log, no entry in the sendmail log for the message. It's just gone. And it's happening to me about 1 out of every two messages. Maillog is less-than-enlightening too. Just a lot of imap init/login/logout messages.

Ideas?
Title: Re: Mail not actually being sent
Post by: flosoft on June 30, 2006, 10:22:12 AM
Could you maybe paste your configs here?
Title: Re: Mail not actually being sent
Post by: nulldevice on June 30, 2006, 12:26:14 PM
Nothing too fancy.

$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'] = 'localhost';
$rcmail_config['default_port'] = 143;
$rcmail_config['mail_domain'] = 'co-prosperity.org';
$rcmail_config['virtuser_file'] = '';
$rcmail_config['virtuser_query'] = '';
$rcmail_config['smtp_server'] = 'localhost';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '';
$rcmail_config['smtp_pass'] = '';
$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'] = 'temp/';
$rcmail_config['log_dir'] = 'logs/';
$rcmail_config['session_lifetime'] = 10;
$rcmail_config['ip_check'] = TRUE;
$rcmail_config['locale_string'] = 'en';
$rcmail_config['date_short'] = 'D H:i';
$rcmail_config['date_long'] = 'd.m.Y H:i';
$rcmail_config['useragent'] = 'RoundCube Webmail/0.1b';
$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'] = "\r\n";
$rcmail_config['pagesize'] = 40;
$rcmail_config['timezone'] = 1;
$rcmail_config['prefer_html'] = TRUE;
$rcmail_config['prettydate'] = TRUE;

Title: Re: Mail not actually being sent
Post by: flosoft on June 30, 2006, 02:11:02 PM
$rcmail_config['default_host'] = 'localhost';
$rcmail_config['smtp_server'] = 'localhost';

Try setting your domain here.

$rcmail_config['smtp_user'] = '';
$rcmail_config['smtp_pass'] = '';

try setting here %u and %p
Title: Re: Mail not actually being sent
Post by: nulldevice on July 01, 2006, 01:21:49 PM
Well, it *is* running on the same server as SMTP and IMAP, and on that network it doesn't need SMTP authentication...

if it did need those to be changed, wouldn't it fail to send *every* time, instead of just about 50% of the time? If it didn't know what server to contact or couldn't authenticate, it probably wouldn't ever send, correct? In this case, it sends about half the time...

(It seems to do slightly better when I change ip_check to false)
Title: Re: Mail not actually being sent
Post by: gappelgren on July 10, 2006, 10:58:39 PM
 :) ---  ;D

Thank for all. Thanks friends for its aid. After testing the suggested changes, to review each variable and to look for in all the non-smtp that I solved the problem with the following modification:

//$rcmail_config['smtp_server'] = 'localhost'; //Original
$rcmail_config['smtp_server'] = '';  //Modificado GAL y JJAA

greetings
Gloria