Roundcube Community Forum

 

0.2-alpha: sent mail with attachments

Started by majobu, August 06, 2008, 10:55:51 AM

Previous topic - Next topic

majobu

Hi,
I'm new to RC which I recently installed to my webspace at Host Europe. At the moment everything works fine with RC 0.2-alpha except one issue:

After sending a mail with attachment, it is displayed in the Sent folder with a paper clip. When I want to take a look to the mail, the attachment is dosplayed as "Part 2" which is not viewable. It doesn't matter if I send a pdf, doc or xls.

Notice, the attachment is delivered correctly...

Please take a look to the screenshot... the mail text 3 FETCH ( is not from me... RC did this ...

Best regards,
majobu

majobu

Does nobody have an idea whats going wrong? :o
Thanks
majobu

dj2

Well, I tried sending myself a test document (.txt) through webmail, and it worked with no issue.  Have you modified anything since installing?

majobu

Thanks for your test. My installation was a clean, fresh installation. I made changes to the config file.


$rcmail_config = array();
$rcmail_config['debug_level'] = 1;
$rcmail_config['enable_caching'] = TRUE;
$rcmail_config['message_cache_lifetime'] = '10d';
$rcmail_config['auto_create_user'] = TRUE;
$rcmail_config['default_host'] = 'ssl://XXXX.webpack.hosteurope.de';
$rcmail_config['default_port'] = 993;
$rcmail_config['imap_auth_type'] = null;
$rcmail_config['username_domain'] = '';
$rcmail_config['mail_domain'] = '';
$rcmail_config['virtuser_file'] = '';
$rcmail_config['virtuser_query'] = '';
$rcmail_config['smtp_server'] = '';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = '';
$rcmail_config['smtp_helo_host'] = '';
$rcmail_config['smtp_log'] = TRUE;
$rcmail_config['list_cols'] = array('from', 'date', 'subject', '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['language'] = 'de';
$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'] = 'Webmailer RC';
$rcmail_config['product_name'] = '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['create_default_folders'] = TRUE;
$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['mdn_requests'] = 0;
$rcmail_config['default_charset'] = 'ISO-8859-1';
$rcmail_config['enable_spellcheck'] = TRUE;
$rcmail_config['spellcheck_uri'] = '';
$rcmail_config['spellcheck_languages'] = NULL;
$rcmail_config['generic_message_footer'] = '';
$rcmail_config['http_received_header'] = TRUE;
$rcmail_config['mail_header_delimiter'] = NULL;
$rcmail_config['session_domain'] = '';
$rcmail_config['address_book_type'] = 'sql';
$rcmail_config['dont_override'] = array();
$rcmail_config['include_host_config'] = false;
$rcmail_config['max_pagesize'] = 200;
$rcmail_config['mime_magic'] = '/usr/share/misc/magic';
$rcmail_config['message_sort_col'] = 'date';
$rcmail_config['message_sort_order'] = 'DESC';
$rcmail_config['enable_installer'] = 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['htmleditor'] = FALSE;
$rcmail_config['prettydate'] = TRUE;
$rcmail_config['draft_autosave'] = 300;
$rcmail_config['preview_pane'] = TRUE;
$rcmail_config['logout_purge'] = FALSE;
$rcmail_config['logout_expunge'] = FALSE;
$rcmail_config['delete_always'] = false;
$rcmail_config['log_logins'] = false;


Thanks in advance,
majobu

dj2

I wonder if it's an issue with SSL?  I can't verify as I don't need that setting enabled.  Worth a shot!

majobu

Yes, worth a shot and I tried it... no luck, the attachment is still not readable in the sent folder :(

Tomorrow I will check a second installation of rc at a different location on the same serve...

Thx,
majobu

dj2

Also, I noticed this:

$rcmail_config['imap_root'] = ''
Shouldn't there be 'INBOX' between the single quotes?  I don't know if that will resolve the issue, but hey. :)

majobu


$rcmail_config['imap_root'] = ''

Without setting to INBOX all subfolders are on the same level as the INBOX. This is what I want. But I will give it a try.

Meanwhile I did a new installation of RC. But there I do have the same issue with the not readable attachment in the sent folder.

After that, I tried the webmailer from Host Europe which seems to be a modded squirrelmail. Sending a mail with attachment from there is displayed correct in the sent folder.

After sending with squirrelmail, I took a look to the sent folder with RC. Oh wonder, the message and the attachment is readable in the sent folder with RC.

What does RC do to sent mails? After sending with RC, mails are not readable by a MUA like Mail.aa or Entourage.

Pls, take a look to the attached picture... this is the message source of a sent mail with RC which is not readable...

:confused:

Thx,
majobu

majobu

Oh... maybe here is the problem? I found out that sent messages are with utf8 charset. The config.php states that RC should use ISO-8859-1

$rcmail_config['default_charset'] = 'ISO-8859-1';


Thx,
majobu

rhwebhosting

majobu,
  I had the same issue, I didnt find the specific setting, but just replaced RC with the previous version, and it worked fine.

majobu

@rhwebhosting
thanks a lot for your tip. Now, I installed version 0.1.1 and everything works fine, too. :D

thx
majobu

dj2

Quote from: majobu;13269@rhwebhosting
thanks a lot for your tip. Now, I installed version 0.1.1 and everything works fine, too. :D

thx
majobu

I should have mentioned, I was using the latest SVN release on my site.  I guess that would have helped, huh? :)

majobu

@dj2
thanks for the information. I will give the latest SVN a try, tomorrow ;)

majobu

The issue I posted seems to be a bug in version 0.2-alpha. With version 0.1.1 there was no problem and today I tested from SVN the trunk-branch version r1637, also with no problem.

What known issues are in r1637? Is it secure to use it in production env?

Thx for all your help...

majobu