freedomofpress / securedrop-client

a Qt-based GUI for SecureDrop journalists 📰🗞️
GNU Affero General Public License v3.0
41 stars 40 forks source link

Support eml #2158

Open philmcmahon opened 2 years ago

philmcmahon commented 2 years ago

When a user attempts to open an eml file in securedrop workstation, could the behaviour be to open the file in gedit? Currently with eml files the viewer vm starts up then immediately crashes (related issue https://github.com/freedomofpress/securedrop-client/issues/2007)

micahflee commented 4 months ago

I'm looking into this one, as I can see how useful it would be.

We need to choose an email client, and although Thunderbird can be obnoxious, after a brief survey I think it might be the best bet. Here's what I considered:

So I think Thunderbird is probably the way to go.

In order for Thunderbird to work, we need to add the following line to /etc/paxctld.conf:

/usr/lib/thunderbird/thunderbird-bin    m

Another thing to tackle is that when opening an EML file in thunderbird which hasn't been configured, it tries to run the "set up your existing email address" first run wizard. It would be good to put some sort of empty-ish Thunderbird profile on sd-viewer to prevent this from happening.