Author Topic: SMTP error does not appear in log  (Read 3275 times)

Offline OlivierMiR

  • Newbie
  • *
  • Posts: 1
SMTP error does not appear in log
« on: January 02, 2007, 09:56:24 AM »
Hello,

When sending an email with RC 0.1 Beta 2, after a few seconds it says "Message not sent". My problem is that apparently nothing gets logged to help me out find what the error is: there is no (visible) file in the "logs/" directory.

Config
$rcmail_config = array();
$rcmail_config['debug_level'] = 4;
$rcmail_config['enable_caching'] = FALSE;
$rcmail_config['message_cache_lifetime'] = '10d';
$rcmail_config['auto_create_user'] = TRUE;
$rcmail_config['default_host'] = 'ssl://smg8.ulb.ac.be';
$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.ulb.ac.be';
$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['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'] = TRUE;
$rcmail_config['skip_deleted'] = FALSE;
$rcmail_config['read_when_deleted'] = TRUE;
$rcmail_config['flag_for_deletion'] = TRUE;
$rcmail_config['enable_spellcheck'] = TRUE;
$rcmail_config['generic_message_footer'] = '';
$rcmail_config['mail_header_delimiter'] = NULL;
$rcmail_config['include_host_config'] = FALSE;
$rcmail_config['pagesize'] = 40;
$rcmail_config['timezone'] = 1;
$rcmail_config['dst_active'] = TRUE;
$rcmail_config['prefer_html'] = TRUE;
$rcmail_config['prettydate'] = TRUE;
$rcmail_config['message_sort_col'] = 'date';
$rcmail_config['message_sort_order'] = 'DESC';
$rcmail_config['javascript_config'] = array('read_when_deleted', 'flag_for_deletion');
?>

Installation
Olivier:/var/www/roundcubemail-0.1beta2# ls -l
total 84
-rw-r----- 1 olivier www-data 12690 2006-08-04 14:10 CHANGELOG
drwxr-x--x 2 olivier www-data 4096 2007-01-02 15:31 config
-rw-r----- 1 olivier www-data 10897 2006-08-06 17:55 index.php
-rw-r----- 1 olivier www-data 3346 2006-08-06 17:55 INSTALL
-rw-r----- 1 olivier www-data 15129 2005-09-29 00:28 LICENSE
drwxrwx--x 2 olivier www-data 4096 2007-01-02 14:41 logs
drwxr-x--x 7 olivier www-data 4096 2006-08-06 17:56 program
-rw-r----- 1 olivier www-data 2925 2006-05-24 01:58 README
drwxr-x--x 3 olivier www-data 4096 2006-08-06 17:56 skins
drwxr-x--x 2 olivier www-data 4096 2006-08-11 14:43 SQL
drwxr-x--x 2 olivier www-data 4096 2006-08-06 17:56 temp
-rw-r----- 1 olivier www-data 5647 2006-08-06 17:55 UPGRADING

Olivier:/var/www/roundcubemail-0.1beta2# ls -Al logs
total 4
-rw-r----- 1 olivier www-data 31 2005-09-25 16:18 .htaccess

Question
Please note that my question is: why can't I find an error log somewhere although I get errors when sending emails? (And not: why are my emails not sent, which will be solved more easily when I'll be able to access the log.)

Is there something that I can do to make sure that an error will be logged? So that I'll be able to see if there is a problem in the error-logging mecanism or if my sending message failures simply do not create an error in the log...

Thank you.
Olivier