[GH-ISSUE #1509] Thunderbird profile and localhost emails #1010

Closed
opened 2026-05-05 07:18:16 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @vds on GitHub (Aug 31, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1509

Trying to access a local Postfix account Thunderbird returns an error: "Unable to locate mail spool file."
Works perfectly without firejail.

Originally created by @vds on GitHub (Aug 31, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1509 Trying to access a local Postfix account Thunderbird returns an error: "Unable to locate mail spool file." Works perfectly without firejail.
gitea-mirror 2026-05-05 07:18:16 -06:00
Author
Owner

@SkewedZeppelin commented on GitHub (Aug 31, 2017):

/var/mail is blocked by disable-common.inc. Try adding "noblacklist /var/mail" to the top of the profile.

<!-- gh-comment-id:326317394 --> @SkewedZeppelin commented on GitHub (Aug 31, 2017): /var/mail is blocked by disable-common.inc. Try adding "noblacklist /var/mail" to the top of the profile.
Author
Owner

@vds commented on GitHub (Sep 3, 2017):

That did not really help.

<!-- gh-comment-id:326806313 --> @vds commented on GitHub (Sep 3, 2017): That did not really help.
Author
Owner

@smitsohu commented on GitHub (Sep 12, 2017):

But do you get still the same error, or is it a new one? On my system I got it working with firejail --noblacklist=/var/mail --noblacklist=/var/spool/mail --writable-var thunderbird

Thunderbird tries to write new files into /var/mail, but this folder is hard-coded read-only and remounting it as read-write is prohibited, except through the writable-var option.

There seems to be a similar issue with claws-mail, that needs read-write=/var/mail/$USER for handling localhost mails.

<!-- gh-comment-id:328914221 --> @smitsohu commented on GitHub (Sep 12, 2017): But do you get still the same error, or is it a new one? On my system I got it working with `firejail --noblacklist=/var/mail --noblacklist=/var/spool/mail --writable-var thunderbird` Thunderbird tries to write new files into /var/mail, but this folder is hard-coded read-only and remounting it as read-write is prohibited, except through the `writable-var` option. There seems to be a similar issue with claws-mail, that needs `read-write=/var/mail/$USER` for handling localhost mails.
Author
Owner

@DSpammy commented on GitHub (Jul 28, 2018):

Same problem exists with claws-mail, too. Local mails can be fetched without firejail only.

<!-- gh-comment-id:408587642 --> @DSpammy commented on GitHub (Jul 28, 2018): Same problem exists with claws-mail, too. Local mails can be fetched without firejail only.
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 20, 2018):

These should probably be local fixes. I'll go ahead and document it in the profiles so that people know what to add to thunderbird.local and claws-mail.local, but I don't think these should be default, since writable-var blows a pretty big hole in the sandbox.

<!-- gh-comment-id:414356504 --> @chiraag-nataraj commented on GitHub (Aug 20, 2018): These should probably be local fixes. I'll go ahead and document it in the profiles so that people know what to add to `thunderbird.local` and `claws-mail.local`, but I don't think these should be default, since `writable-var` blows a pretty big hole in the sandbox.
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#1010
No description provided.