-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using mutt as a MUA does not work #77
Comments
|
interesting suggestion. Line 186 in eaee3c4
I'm mildly against catering for each and every MUA and would rather see the MUA to be integrated better with the user's profile through the available mechanisms. Have you tried one of these for mutt? |
|
Honestly, I don't quite know how that works. :) The only reason why mutt is my default MUA is because my normal MUA (notmuch) doesn't even have such a commandline interface, so I'm a little far out from your normal use case. This is how monkeysign does it: https://0xacab.org/monkeysphere/monkeysign/blob/2.x/monkeysign/ui.py#L733 I think what might be going on here is the portal "succeeds" in that it calls mutt, but then mutt fails to parse that &attachment URL... Or maybe xdg-mail fails and it fallsback to that mailto: url? I don't know - I just figured it'd be useful for you to know this doesn't quite work with mutt, considering how popular that email client is among hackers. ;) |
|
I also don't exactly know how it works, but for the portal, I could imagine something providing a mutt-backed email function. The signature of the DBus service is relatively simple: https://flatpak.github.io/xdg-desktop-portal/portal-docs.html#gdbus-method-org-freedesktop-portal-Email.ComposeEmail. For xdg-email to work, I suggest patching xdg-email or filing a bug: https://bugs.freedesktop.org/enter_bug.cgi?product=Portland&component=xdg-utils For the protocol handler, you can file a bug against your distribution or mutt directly, to provide a .desktop file with something like You seem to be able to do it yourself, as discussed here: https://superuser.com/questions/323881/how-can-i-set-mutt-as-the-default-mail-client-when-i-click-on-a-mailto-in-a-we Does that make it work for you? |
|
Let me assume that this is outside of GNOME Keysign and rather a portal or .desktop file issue. |
in #76 I mentioned that mutt never actually sends the email when sending a signature.
I believe this is due to a weird behavior of mutt: it "remembers" the "template" it sends into the text editor when drafting a new email. If that text is not modified, the email is simply dropped. To get to the "send dialog" in mutt, you actually need to somewhat modify the email.
But even worse, when you do get to that dialog, you notice the email is empty: it has only the introduction message, and no signature. It seems like the
&attachmentsyntax is not supported by mutt. Here's what the interface looks like before sending the email:There should be more attachments there.
A workaround for this is to allow the user to modify which program gets called by gnome-keysign when actually sending the email. That is how Monkeysign does it, see those instructions for an idea:
https://monkeysign.readthedocs.io/en/2.x/usage.html#using-your-normal-email-client-mua
Thanks!
The text was updated successfully, but these errors were encountered: