2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-19 03:25:33 +00:00
steffen-dotfiles/install/4_office.sh

33 lines
720 B
Bash
Raw Normal View History

#!/usr/bin/env zsh
# everything needed for mutt
brew install isync
brew install msmtp
brew install mu
brew install neomutt
brew install ripmime
brew install w3m
# python dependencies (for mutt)
2021-03-20 20:38:43 +00:00
pip install urlscan
2021-03-20 20:38:43 +00:00
# create folders
mkdir ~/Mail
mkdir ~/Mail/mailbox
mkdir ~/Mail/mailbox/cur
mkdir ~/Mail/mailbox/new
mkdir ~/Mail/mailbox/tmp
2021-03-20 20:38:43 +00:00
# link config files
ln -s ~/dotfiles/office/mutt ~/.mutt
ln -s ~/dotfiles/office/mbsyncrc ~/.mbsyncrc
ln -s ~/dotfiles/office/msmtprc ~/.msmtprc
2021-03-20 20:38:43 +00:00
# now: create the correct keychain-entries in system keychain
# for the mailboxes (compare msmtp/mbsync-config, remember to
# prepend imap-ones with http:// and smtp-ones with smtp://), then:
mbsync -a
mu init -m ~/Mail
mu index