[GH-ISSUE #3743] Lost email in claws-mail #2364

Closed
opened 2026-05-05 09:02:47 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @a1346054 on GitHub (Nov 12, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3743

Updated firejail to 0.9.64-1~bpo10+1 from previous version, on debian stable using firejail from backports repository.

Ran firecfg to get new profiles.

Started claws-mail, saw completely empty inbox (all my emails were missing) and then new mail automatically downloaded. Using POP3 and delete on server when downloaded locally. Was worried that my mail was all gone, so I closed claws-mail, deleted /usr/local/bin/claws-mail that was generated by firecfg, started claws-mail, all my previous mail was there except the newly downloaded emails.

The newly downloaded emails are now permanently lost. Beware.

The location of my mailbox is ~/emails/claws/name-of-my-mailbox/

Originally created by @a1346054 on GitHub (Nov 12, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3743 Updated firejail to 0.9.64-1~bpo10+1 from previous version, on debian stable using firejail from backports repository. Ran `firecfg` to get new profiles. Started claws-mail, saw completely empty inbox (all my emails were missing) and then new mail automatically downloaded. Using POP3 and delete on server when downloaded locally. Was worried that my mail was all gone, so I closed claws-mail, deleted `/usr/local/bin/claws-mail` that was generated by `firecfg`, started claws-mail, all my previous mail was there except the newly downloaded emails. The newly downloaded emails are now permanently lost. Beware. The location of my mailbox is `~/emails/claws/name-of-my-mailbox/`
Author
Owner

@ghost commented on GitHub (Nov 12, 2020):

Started claws-mail, saw completely empty inbox (all my emails were missing) and then new mail automatically downloaded.

That is indeed expected behaviour when your mailbox diverges from the default ${HOME}/Mail, even when not sandboxing claws-mail. Our profile has a note stating as much...

The location of my mailbox is ~/emails/claws/name-of-my-mailbox/

You can follow the guidelines in the aforementioned note to support your custom mailbox location.

This is all very unfortunate, but besides taking out claws-mail in firecfg IMHO there's not much we can do to avoid this.

<!-- gh-comment-id:726119834 --> @ghost commented on GitHub (Nov 12, 2020): > Started claws-mail, saw completely empty inbox (all my emails were missing) and then new mail automatically downloaded. That is indeed expected behaviour when your mailbox diverges from the default ${HOME}/Mail, even when not sandboxing claws-mail. Our profile has a [note](https://github.com/netblue30/firejail/blob/master/etc/profile-a-l/email-common.profile#L12) stating as much... > The location of my mailbox is ~/emails/claws/name-of-my-mailbox/ You can follow the guidelines in the aforementioned note to support your custom mailbox location. This is all very unfortunate, but besides taking out claws-mail in firecfg IMHO there's not much we can do to avoid this.
Author
Owner

@rusty-snake commented on GitHub (Jan 4, 2021):

I was already thinking of something like a MIGRATIONS.txt like

Important profile changes beteen 1.2.3 and 1.2.4
 - mua are now whitelisting profiles, if you store your mails in an own dir ...
 - enable chromium-hardened-common.inc if your kernel has unprivileged userns
 - …
<!-- gh-comment-id:754080329 --> @rusty-snake commented on GitHub (Jan 4, 2021): I was already thinking of something like a MIGRATIONS.txt like ``` Important profile changes beteen 1.2.3 and 1.2.4 - mua are now whitelisting profiles, if you store your mails in an own dir ... - enable chromium-hardened-common.inc if your kernel has unprivileged userns - … ```
Author
Owner

@rusty-snake commented on GitHub (Apr 6, 2021):

I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.

<!-- gh-comment-id:814168699 --> @rusty-snake commented on GitHub (Apr 6, 2021): I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2364
No description provided.