Skip to content

stefco/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

de64c58 · Feb 11, 2025
Dec 21, 2021
Oct 21, 2024
Feb 11, 2025
Jun 24, 2019
Sep 10, 2024
Feb 11, 2025
Nov 28, 2020
Sep 10, 2024
Sep 13, 2017
Jan 13, 2021
Sep 10, 2024
Oct 1, 2021
Oct 21, 2024
Jan 28, 2019
Jul 29, 2021
Mar 16, 2017
Sep 10, 2017
Jul 2, 2018
Nov 28, 2020
Sep 27, 2017

Repository files navigation

Dotfiles

Configuring Email

Install Neomutt

sudo port -f install neomutt +idn +lmdb +notmuch +ssl

Install offlineimap

sudo port -f install offlineimap

Configure Email

Copy .offlineimaprc to the home directory. Replace the <REDACTED> line in .offlineimaprc with a device password for gmail.

Open up the Keychain Access app, go to System Roots and then Certificates, hit CMD-A to select all, and hit CMD-SHIFT-E to export all certificates into a single .pem file. Place this at the path indicated in .offlineimaprc, which should be ~/ca-certs/certs.pem.

On Linux, you should be able to use something like

sslcacertfile = /etc/ssl/certs/ca-certificates.crt

in .offlineimaprc.

Run offlineimap -o to fetch email for the first time. Will probably take a while. If you have an offline copy of your email, it will be much quicker to rsync that whole thing and then go from there with offlineimap.

Put offlineimap in a cron script to periodically restart it in case it crashes. It acts as a daemon, so it will just quit immediately if an instance is running already. I have read old testimony claiming that offlineimap tends to hang, but in my experience, it just crashes when it messes up. I will update as necessary if the hanging problem rears its ugly head.

Some nice utils

  • pdftotext, via poppler package on brew
  • atool (for archives)
  • w3m
  • elinks

About

My ~ d O t F i L e S ~

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published