On 2026-01-26 06:46, Graham Spillman via Users wrote:
[chop]
... ATTACHMENTS GO MISSING, on arrival into all Inboxes


His Inbox lists the email with the paperclip attachment symbol, but on
opening the mail, there are no attachments.
I have seen a screenshot myself

This has happened two or three times in recent weeks
I'm pretty sure there have been no changes to his PC in AGES.

QUESTION
Does RoundCube record any log of client user actions at the browser end?? Is there any record anywhere of what the user actually did when intended
attachments have gone AWOL?


These answers are for whoever is administering the RoundCube instance you are using and maybe the mail service admin managing IMAP storage of email associated with this account.

Disclaimer: I am not a dev for RoundCube.


Part 1: Missing attachments

For reading email, RoundCube is like a web-based presentation of content stored in IMAP server account.

For reading email, it can, at best, only display email stored in a user's IMAP account.

If the email message stored in the IMAP account is missing an attachment, then RoundCube can't show you what is not present in the email message stored in the IMAP account

A most common reason for attachments to be removed from emails is when a malware scanner (outside of RoundCube) identified malware in an attachment and removes it. That is outside of RoundCube.

Another cause for an attachment to not be displayed is if the user sending the email didn't include an attachment. That is not a failure in RoundCube. (RoundCube can only display what is present in the email message account on the IMAP server.)

There are other possible causes, but the above 2 are the most common.

Less common:

It is possible that the "tmp" location for attachments to be uploaded to the same web server running roundcube may have problems or be incorrectly configured.

It is possible PHP has insufficient memory/resource configuration to allow the uploaded attachment to correctly be attached. (ROundCube usually indicates maximum attachment size allowed when trying to attach files.)

If either of these were issues, I'd expect RoundCube to indicate an error to the web user about a failure with trying to add the attachment.

If you have another IMAP client that can talk directly to the IMAP server using the same user's account, you can use that IMAP client to see if it also reports a missing attachment or not for the same email messages.

If you have shell access to the IMAP server accounts, and they are stored in "Maildir" format, you can inspect the literal email messages in question as text files for attachments being present or not.

You can also inspect the "sent" mail to see if the sent mail message actually shows there was an attachment or not. An end-user that sent email can inspect their own "IMAP" sent mail for attachments. The RoundCube/email admin can also check the inbox mail for recipients to see the message has an attachment.

Actual inspection of the email messages in question can help identify if there really is or is not an attachment, so you can better spend your time focused on the likely cause.



Part 2: Logging
Have the RoundCube admin (or mail admin) Check out the RoundCube configuration "config/config.inc.php" and compare to "config/defaults.inc.php" for common RoundCube configuration options. For logging, there are several logging related that can be added (by the RoundCube admin) to "config/config.inc.php" (It is possible for logs to be stored elsewhere or use another service: have the RoundCube admin check how logging is configured)

// Log session authentication errors to <log_dir>/session or to syslog
//$config['log_session'] = false;
$config['log_session'] = true;

Is one, and once enabled, if the web-user that roundcube "runs" as has write access to the logging directory, you can check out the roundcube session log for details.

Another logging option:

// Log IMAP session identifiers after each IMAP login.
// This is used to relate IMAP session with Roundcube user sessions
$config['imap_log_session'] = false;

Have the RoundCube admin search "config/defaults.inc.php" for the keyword "log" to see common log-related options. You can see where your RoundCube actually stores its logs files by looking at "config/config.inc.php"

Again, all the above advice would be for the RoundCube / email admin to try, not an end-user using just a web browsers to check mail (unless they are the RoundCube/email admin, too.)


HTH


_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to