Description of problem: Evolution shows attachment icon even if the email has no attachments. I guess it's caused by the fact that the message in question has "Content-Type: multipart/mixed;" but actually only contains 1 part (text/plain), properly enclosed in boundaries. It's a bit misleading. Version-Release number of selected component (if applicable): evolution-2.10.3-2.fc7 evolution-data-server-1.10.3.1-2.fc7 evolution-webcal-2.10.0-1.fc7 evolution-data-server-devel-1.10.3.1-2.fc7 How reproducible: always
Can you post an mbox file containing such an email?
Thanks Michal, easily reproducible. I found the logic that decides whether to display the icon: ml_tree_value_at() (in message-list.c): case COL_ATTACHMENT: return GINT_TO_POINTER ( (camel_message_info_flags(msg_info) & CAMEL_MESSAGE_ATTACHMENTS) != 0); It's just checking a flag, so that's okay. The bug, then, must be in Camel. I'll keep digging...
You're right, Camel is just setting the CAMEL_MESSAGE_ATTACHMENTS flag based on whether the MIME type is "multipart/mixed" (in camel-folder-summary.c). I guess it should also check whether the number of parts is > 1. I need to consult with upstream.
Moving this upstream to bug [1]. We will track it there. [1] http://bugzilla.gnome.org/show_bug.cgi?id=478239