[GH-ISSUE #395] Tightening the Thunderbird profile #285

Closed
opened 2026-05-05 05:31:29 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @curiosity-seeker on GitHub (Mar 31, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/395

I suggest to tighten the existing Thunderbird profile. The following settings work for me:

# Firejail profile for Mozilla Thunderbird (Icedove in Debian)
noblacklist ~/.thunderbird
noblacklist ~/.gnupg
noblacklist ~/.mozilla
mkdir ~/.thunderbird
whitelist ~/.thunderbird
mkdir ~/.gnupg
whitelist ~/.gnupg
mkdir ~/.cache
mkdir ~/.cache/thunderbird
whitelist ~/.cache/thunderbird
whitelist ${DOWNLOADS}
read-only ~/.mozilla
include /etc/firejail/disable-mgmt.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-secret.inc
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-terminals.inc

caps.drop all
seccomp
protocol unix,inet,inet6
netfilter
noroot
tracelog
shell none
include /etc/firejail/whitelist-common.inc

Making ~/.mozilla read-only is required as otherwise clicking URLs in Thunderbird do not open in Firefox. I haven't tried with other browsers. The included files need to be adjusted to the newly introduced structure

Originally created by @curiosity-seeker on GitHub (Mar 31, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/395 I suggest to tighten the existing Thunderbird profile. The following settings work for me: ``` # Firejail profile for Mozilla Thunderbird (Icedove in Debian) noblacklist ~/.thunderbird noblacklist ~/.gnupg noblacklist ~/.mozilla mkdir ~/.thunderbird whitelist ~/.thunderbird mkdir ~/.gnupg whitelist ~/.gnupg mkdir ~/.cache mkdir ~/.cache/thunderbird whitelist ~/.cache/thunderbird whitelist ${DOWNLOADS} read-only ~/.mozilla include /etc/firejail/disable-mgmt.inc include /etc/firejail/disable-devel.inc include /etc/firejail/disable-secret.inc include /etc/firejail/disable-common.inc include /etc/firejail/disable-terminals.inc caps.drop all seccomp protocol unix,inet,inet6 netfilter noroot tracelog shell none include /etc/firejail/whitelist-common.inc ``` Making ~/.mozilla read-only is required as otherwise clicking URLs in Thunderbird do not open in Firefox. I haven't tried with other browsers. The included files need to be adjusted to the newly introduced structure
gitea-mirror 2026-05-05 05:31:29 -06:00
Author
Owner

@netblue30 commented on GitHub (Mar 31, 2016):

Sure, I'll do it.

<!-- gh-comment-id:204001168 --> @netblue30 commented on GitHub (Mar 31, 2016): Sure, I'll do it.
Author
Owner

@netblue30 commented on GitHub (Apr 1, 2016):

I added a whitelisted Thunderbird profile in the main branch, thanks.

<!-- gh-comment-id:204360832 --> @netblue30 commented on GitHub (Apr 1, 2016): I added a whitelisted Thunderbird profile in the main branch, thanks.
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#285
No description provided.