Remove khard/vdirsyncer, mu index is enough

main
Steffen Rademacker 3 years ago
parent d54c797a01
commit cd91edd6ac

@ -3,31 +3,39 @@
# everything needed for mutt
brew install gpgme
brew install isync
brew install khard
brew install msmtp
brew install mu
brew install neomutt
brew install ripmime
brew install w3m
brew install vdirsyncer
# python dependencies (for mutt)
pip install urlscan
# create folders
mkdir ~/Contacts
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
ln -s ~/dotfiles/office/khard ~/.config/khard
ln -s ~/dotfiles/office/vdirsyncer ~/.vdirsyncer
# now: create the correct keychain-entries in system keychain
# for the mailboxes (compare msmtp/mbsync-config) and start
# the first sync with "O". Usually install 1password first ;)
# 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

@ -1,18 +0,0 @@
[addressbooks]
[[mailbox]]
path = ~/Contacts/27
[general]
debug = no
default_action = list
editor = nvim
merge_editor = vimdiff
[contact table]
display = first_name
sort = first_name
[vcard]
preferred_version = 3.0
search_in_source_files = no
skip_unparsable = no

@ -51,9 +51,8 @@ set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
set send_charset = "utf-8:iso-8859-1:us-ascii"
set charset = "utf-8"
# when composing emails, use this command to get addresses from
# the addressbook with khard first, and everything else from mu index
set query_command = "( khard email --parsable '%s' | sed -n '1!p'; mu cfind --format=mutt-ab '%s' )"
# when composing emails, use this command to get addresses from mu
set query_command = "mu cfind --format=mutt-ab '%s'"
# Pager View Options
set pager_index_lines = 10

@ -1,18 +0,0 @@
[general]
status_path = "~/.vdirsyncer/status/"
[pair mailboxcontacts]
a = "mailboxcontacts_local"
b = "mailboxcontacts_remote"
collections = ["from a", "from b"]
[storage mailboxcontacts_local]
type = "filesystem"
path = "~/Contacts/"
fileext = ".vcf"
[storage mailboxcontacts_remote]
type = "carddav"
url = "https://dav.mailbox.org"
username = "s.rademacker@mailbox.org"
password.fetch = ["command", "~/dotfiles/office/getpassword.sh"]
Loading…
Cancel
Save