mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1459] Mutt fails to read mail attachments (using lynx / gnu highlight) #983
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#983
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Boruch-Baum on GitHub (Aug 11, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1459
For firejail version 0.9.48 in debian, using mutt configured to edit with emacs client, with the command line invocation:
Attempting to read any email with an inline attachment fails because of some restriction in the default firejail profile for mutt's default pager (lynx) or a custom plug-in (gnu highlight).
Here's some screen output from one email:
And here's how it reacts to an inline patch attachment:
@Boruch-Baum commented on GitHub (Aug 11, 2017):
I tried creating empty dummy profiles for mutt, lynx and highlight in my ~/.config/firejail directory, which succeeded in making the attachments visible . . . BUT the emails still display indications that firejail is being used! This may be because internally mutt may not be calling lynx directly.
At the top of the attachment text:
And after the end of the attachment text:
@Boruch-Baum commented on GitHub (Aug 11, 2017):
Upon looking a bit deeper, the email attachments are still being slightly mangled, ie. text dropped, and text not diplayed properly.
@chiraag-nataraj commented on GitHub (Jul 16, 2018):
So I don't know exactly what setup you use, but here's what I use, which seems to work pretty well:
/tmp/user/1000/for all ofmutt's temporary files (composing emails, reading emails, etc)./tmp/user/1000/as well (so that it's easily accessible bymutt).Everything seems to just work with this setup. Mutt is just calling whatever you put in your
.mailcap(or in/etc/mailcapif you don't have a personal one), so if it's using firejail when it shouldn't be, you should look there. I don't see the point of using firejail for that since it's always been run inside of mutt anyway (so it's already jailed).@chiraag-nataraj commented on GitHub (Jul 23, 2018):
Also, this may be happening because you ran
firecfg. Without more info, it's hard to debug.@chiraag-nataraj commented on GitHub (Aug 20, 2018):
@Boruch-Baum I presume you're still having this problem. Have you tried my solution above?
@Boruch-Baum commented on GitHub (Aug 20, 2018):
Hi. No, what I did was drop using firejail for mutt; I need mutt too much too often without that issue, and am investing my time with other projects at this point. I don't remember whether I ran firecfg, but I do remember that I was using the symbolic links created / installed by the package.