mirror of
https://github.com/webgefrickel/dotfiles
synced 2024-11-11 07:10:40 +00:00
42 lines
964 B
Bash
Executable File
42 lines
964 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# everything needed for mutt
|
|
brew install gpgme
|
|
brew install isync
|
|
brew install msmtp
|
|
brew install mu
|
|
brew install neomutt
|
|
brew install ripmime
|
|
brew install w3m
|
|
|
|
# python dependencies (for mutt)
|
|
pip install urlscan
|
|
|
|
# create folders
|
|
mkdir ~/Mail
|
|
mkdir ~/Mail/mailbox
|
|
mkdir ~/Mail/mailbox/cur
|
|
mkdir ~/Mail/mailbox/new
|
|
mkdir ~/Mail/mailbox/tmp
|
|
mkdir ~/Mail/viu
|
|
mkdir ~/Mail/viu/cur
|
|
mkdir ~/Mail/viu/new
|
|
mkdir ~/Mail/viu/tmp
|
|
mkdir ~/Mail/===================
|
|
mkdir ~/Mail/===================/cur
|
|
mkdir ~/Mail/===================/new
|
|
mkdir ~/Mail/===================/tmp
|
|
|
|
# link config files
|
|
ln -s ~/dotfiles/office/mutt ~/.mutt
|
|
ln -s ~/dotfiles/office/mbsyncrc ~/.mbsyncrc
|
|
ln -s ~/dotfiles/office/msmtprc ~/.msmtprc
|
|
|
|
# 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
|