Hey y’all!
I recently followed the Email Mail series for the mu4e setup with mbsync, and it works like a charm! Thanks <3
But for some reason when i press “U” to run “mbsync -a” emacs don’t ask for my gpg password
Since I’m running on macOS, the gpg password normally appears as a TUI box instead of an OS global popup, so I’m first running the command on a terminal on the beginning of the day and letting gpg-agent remember the password for the rest of the day
Has anyone faced a similar problem? And if yes, what did you do to fix it?
My mbsyncrc account is this btw:
IMAPAccount personal
Host imap.gmail.com
TLSType IMAPS
AuthMechs LOGIN
User <myemail>
PassCmd "/opt/homebrew/bin/gpg -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmail.com login <myemail>/ {print $6}'"
1 Like
Ok I managed to make it work outside of emacs by following this tutorial: How To Set Up GPG On macOS // Alex Norell
Essentially I configured an global gpg frontend for macOS, all posts that I read mentioned that it isn’t possible to accept this password directly from emacs so I gave up
If anyone figured out a way to not depend on the global frontend, it would be awesome <3
It’s quite simple to do so I’ll paste the steps:
- Install the packages:
brew install gnupg pinentry-mac
- Add pinentry-mac as the pinentry app on gpg:
echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf
gpg-connect-agent reloadagent /bye
2 Likes
I think the pin entry thing is generally required, I set it up similarly on my Mac when I had one, but it also seems to work fine in Linux. That said, I’ve switched to Gnus as my mail application in Emacs and I don’t notice the same issue. YMMV as always.
I think the pin entry thing is generally required, I set it up
similarly on my Mac when I had one, but it also seems to work
fine in Linux. That said,
I’ve switched to Gnus as my mail application in Emacs and I
don’t notice the same issue. YMMV as always.
The last days I’ve been reading a lot about people migrating from
mu4e to gnus, is there a particular reason that made you switch
over? I’m seriously thinking in doing the same (specially because
I could stop using elfeed as well)
For me, it was the all-in-one built-in solution. I didn’t need an external tool (like mbsync or whatever) to pull my IMAP email from a server just to read it with Emacs. Gnus is able to pull IMAP (and POP3) email messages from a server directly. Sending email also didn’t require additional software. I put a generic example here in case that helps.
I don’t use it as a replacement for elfeed
, but then, I don’t read many RSS feeds. I did try to setup RSS in Gnus, it worked… sorta… I kept getting duplicate messages. There is some debugging you might have to do in order to figure out the keys needed to configure your RSS feed so Gnus understands how to not pull down messages you already have read. There is a wiki page on it somewhere, I’d have to go find it, let me know if you need me to do that.
For me, it was the all-in-one built-in solution. I didn’t need
an external tool (like mbsync or whatever) to pull my IMAP email
from a server just to
read it with Emacs. Gnus is able to pull IMAP (and POP3) email
messages from a server directly. Sending email also didn’t
require additional
software. I put a generic example here in case that helps.
I don’t use it as a replacement for elfeed, but then, I don’t
read many RSS feeds. I did try to setup RSS in Gnus, it worked…
sorta… I kept
getting duplicate messages. There is some debugging you might
have to do in order to figure out the keys needed to configure
your RSS feed so
Gnus understands how to not pull down messages you already have
read. There is a wiki page on it somewhere, I’d have to go find
it, let me know
if you need me to do that.
Thanks for the link, if you could link it here it would be awesome!
I’m looking into some protesilaos videos to setup a basic gnus and
test against mu4e, thanks again!
Read through this thread:
1 Like
Also, worth considering is the built-in newsticker for RSS feeds - just a thought.
You’re amazing! thanks for the great help
1 Like