#mbsync — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #mbsync, aggregated by home.social.
-
This week #kanchilug meet we discussed about syncing mail to local system using #mbsync (from #isync package). #archwiki is the one we relayed on and it worked flawlessly
-
Usually i am pretty amazed how much time i save while configuring my systems with NixOS/HomeManager. But this time i am trying to set up mbsync/mu/mu4e stack and i think some options are scattered all over.
I got a basic setup running now, but where do i put for example the inbox path if it differs from defaults?
-
BTW this is is my current mail setup using #niri + #danklinux (on top of Fedora on M1 Air). All the visual peace of a console client but still offering preview one shortcut away.
- #mbsync maintains my IMAP boxes synced locally
- #aerc friendly console mail client
- #qutebrowser to preview HTML when I really need to -
BTW this is is my current mail setup using #niri + #danklinux (on top of Fedora on M1 Air). All the visual peace of a console client but still offering preview one shortcut away.
- #mbsync maintains my IMAP boxes synced locally
- #aerc friendly console mail client
- #qutebrowser to preview HTML when I really need to -
BTW this is is my current mail setup using #niri + #danklinux (on top of Fedora on M1 Air). All the visual peace of a console client but still offering preview one shortcut away.
- #mbsync maintains my IMAP boxes synced locally
- #aerc friendly console mail client
- #qutebrowser to preview HTML when I really need to -
BTW this is is my current mail setup using #niri + #danklinux (on top of Fedora on M1 Air). All the visual peace of a console client but still offering preview one shortcut away.
- #mbsync maintains my IMAP boxes synced locally
- #aerc friendly console mail client
- #qutebrowser to preview HTML when I really need to -
BTW this is is my current mail setup using #niri + #danklinux (on top of Fedora on M1 Air). All the visual peace of a console client but still offering preview one shortcut away.
- #mbsync maintains my IMAP boxes synced locally
- #aerc friendly console mail client
- #qutebrowser to preview HTML when I really need to -
Me and my new #yubikey5 part 2:
Now we get to the nitty-gritty parts. I'm using #mbsync to sync multiple #imap accounts to local #maildir and I am automating this via #systemd : a timer calls a service very 5 minutes, that will call mbsync on all mail accounts if connected to the internet.
Providing the passwords via #pass that is encrypted with #yubikey will need that yubikey to be unlocked (i.e. a pin needs to be provided). When providing this pin (e.g. by manually calling mbsync on one of my mail accounts), it will be stored for at least 12h, and up to 24h (on my home pc; mobile and remote devices will of course hav different settings).
However, if I never manually provide the PIN, the systemd automated scripts will fail. E.g. I just connected the key, but not used it.
First I thought, this was due to me using the `curses` version #pinentry . But that's not the whole truth. Even with `pinentry-gtk` the systemd script will not trigger a PIN entry. I didn't quite understand why, and therefore ran a different direction:
Could I just auto-unlock the yubikey if I connected it? I wrote a #udev rule that would recognize the yubikey. Learning that I need to put scripts for udev in certain dirs, and being unhappy with it, I then wrote a systemd service for the udev to call instead, and with that I maanged to finally get a PIN entry request using the gtk version.
And then it got me thinking. Why did that work, but my mailsync that basically has the same things involved (script instead of udev that triggers systemd that wants to decrypt something using yubikey triggering PIN entry). And then it hit me: My mailsync systemd service was missing the `DISPLAY=:0` environment variable, thus the script can't trigger the GUI. Half a days worth of work, all for nothing :picardfacepalm:
But hey, the weekend is young. Next up: If triggered via CLI i want gpg to trigger `pinentry-curses` instead of `pinentry-gtk`. Sounds easy: have a `pinentry-auto` script figuring out where it has been called from. Well... not really #wip
-
Migrate #EMail from server A, to server B.
- #Thunderbird and drag them.
- #isync #mbsync, and read docs
- #imapsync, setup an Arch VM, because it's packaged there (as opposed to Debian/Ubuntu).