Getting notmuch/alot/afew/mbsync/msmtp working. sort of
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# This is the default filter chain
|
# This is the default filter chain
|
||||||
[SpamFilter]
|
[SpamFilter]
|
||||||
[ClassifyingFilter]
|
#[ClassifyingFilter]
|
||||||
[KillThreadsFilter]
|
[KillThreadsFilter]
|
||||||
[ListMailsFilter]
|
[ListMailsFilter]
|
||||||
[ArchiveSentMailsFilter]
|
[ArchiveSentMailsFilter]
|
||||||
|
|||||||
14
alot/config
Normal file
14
alot/config
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
prefer_plaintext = True
|
||||||
|
tabwidth = 4
|
||||||
|
|
||||||
|
[accounts]
|
||||||
|
[[IOCOM]]
|
||||||
|
realname = Dustin Swan
|
||||||
|
address = dustinswan@gmail.com
|
||||||
|
gpg_key = 2B3A6377
|
||||||
|
sendmail_command = msmtp --account=DswanIOCOM -t
|
||||||
|
|
||||||
|
[[Gmail]]
|
||||||
|
realname = Dustin Swan
|
||||||
|
address = dswan@iocom.com
|
||||||
|
sendmail_command = msmtp --account=DustinswanGmail -t
|
||||||
@@ -58,7 +58,7 @@ brew cask install the-unarchiver
|
|||||||
brew cask install electrum
|
brew cask install electrum
|
||||||
brew cask install steam
|
brew cask install steam
|
||||||
brew cask install sketchup
|
brew cask install sketchup
|
||||||
#brew cask install gpgtools ???
|
brew cask install gpgtools
|
||||||
#brew cask install vagrant
|
#brew cask install vagrant
|
||||||
#brew cask install bittorrent-sync
|
#brew cask install bittorrent-sync
|
||||||
#brew cask install truecrypt
|
#brew cask install truecrypt
|
||||||
|
|||||||
27
mbsyncrc
27
mbsyncrc
@@ -25,3 +25,30 @@ Create Both
|
|||||||
# Expunge Both
|
# Expunge Both
|
||||||
# Save the synchronization state files in the relevant directory
|
# Save the synchronization state files in the relevant directory
|
||||||
SyncState *
|
SyncState *
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
IMAPAccount iocom
|
||||||
|
Host secure.emailsrvr.com
|
||||||
|
User dswan@insors.com
|
||||||
|
PassCmd "gpg -d ~/.iocom-password.gpg"
|
||||||
|
# SSL
|
||||||
|
UseIMAPS yes
|
||||||
|
|
||||||
|
IMAPStore iocom-remote
|
||||||
|
Account iocom
|
||||||
|
|
||||||
|
MaildirStore iocom-local
|
||||||
|
Path ~/.mail/iocom/
|
||||||
|
Inbox ~/.mail/iocom/INBOX
|
||||||
|
|
||||||
|
Channel iocom
|
||||||
|
Master :iocom-remote:
|
||||||
|
Slave :iocom-local:
|
||||||
|
# Include everything
|
||||||
|
Patterns *
|
||||||
|
# Automatically create missing mailboxes, both locally and on the server
|
||||||
|
Create Both
|
||||||
|
# Expunge Both
|
||||||
|
# Save the synchronization state files in the relevant directory
|
||||||
|
SyncState *
|
||||||
|
|||||||
20
msmtprc
20
msmtprc
@@ -5,17 +5,17 @@ protocol smtp
|
|||||||
auth on
|
auth on
|
||||||
from dustinswan@gmail.com
|
from dustinswan@gmail.com
|
||||||
user dustinswan@gmail.com
|
user dustinswan@gmail.com
|
||||||
passwordeval gpg -d ~/.gmail-password.gpg
|
passwordeval gpg --no-tty -d ~/.gmail-password.gpg
|
||||||
tls on
|
#tls on
|
||||||
#tls_trust_file ~/.mutt/gmail_cert
|
#tls_trust_file ~/.mutt/gmail_cert
|
||||||
|
|
||||||
#account DswanIOCOM
|
account DswanIOCOM
|
||||||
#host secure.emailsrvr.com
|
host secure.emailsrvr.com
|
||||||
#port 587
|
port 587
|
||||||
#protocol smtp
|
protocol smtp
|
||||||
#auth on
|
auth on
|
||||||
#from dswan@iocom.com
|
from dswan@iocom.com
|
||||||
#user dswan@insors.com
|
user dswan@insors.com
|
||||||
#passwordeval gpg --no-tty -d ~/.iocom_password.gpg
|
passwordeval gpg --no-tty -d ~/.iocom-password.gpg
|
||||||
|
|
||||||
account default : DustinswanGmail
|
account default : DustinswanGmail
|
||||||
|
|||||||
@@ -47,7 +47,8 @@ primary_email=dustinswan@gmail.com
|
|||||||
# in the mail store.
|
# in the mail store.
|
||||||
#
|
#
|
||||||
[new]
|
[new]
|
||||||
tags=unread;inbox;
|
tags=new
|
||||||
|
#tags=unread;inbox;
|
||||||
ignore=
|
ignore=
|
||||||
|
|
||||||
# Search configuration
|
# Search configuration
|
||||||
|
|||||||
2
notmuch-post-new
Executable file
2
notmuch-post-new
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
afew --tag --new
|
||||||
@@ -5,14 +5,19 @@ rm -rf ~/.config/fish; mkdir -p ~/.config/fish; ln -s ~/dotfiles/config.fish ~/.
|
|||||||
rm ~/.gemrc; ln -s ~/dotfiles/gemrc ~/.gemrc
|
rm ~/.gemrc; ln -s ~/dotfiles/gemrc ~/.gemrc
|
||||||
rm -rf ~/.ghc; mkdir ~/.ghc; ln -s ~/dotfiles/ghci.conf ~/.ghc/ghci.conf
|
rm -rf ~/.ghc; mkdir ~/.ghc; ln -s ~/dotfiles/ghci.conf ~/.ghc/ghci.conf
|
||||||
rm ~/.gitconfig; ln -s ~/dotfiles/gitconfig ~/.gitconfig
|
rm ~/.gitconfig; ln -s ~/dotfiles/gitconfig ~/.gitconfig
|
||||||
rm ~/.mbsyncrc; ln -s ~/dotfiles/mbsyncrc ~/.mbsyncrc
|
|
||||||
rm ~/.msmtprc; ln -s ~/dotfiles/msmtprc ~/.msmtprc
|
|
||||||
rm ~/.ruby-version; ln -s ~/dotfiles/ruby-version ~/.ruby-version
|
rm ~/.ruby-version; ln -s ~/dotfiles/ruby-version ~/.ruby-version
|
||||||
rm ~/.tmux.conf; ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
|
rm ~/.tmux.conf; ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
|
||||||
rm ~/.vimrc; ln -s ~/dotfiles/vimrc ~/.vimrc
|
rm ~/.vimrc; ln -s ~/dotfiles/vimrc ~/.vimrc
|
||||||
rm -rf ~/.vim; ln -s ~/dotfiles/vim ~/.vim
|
rm -rf ~/.vim; ln -s ~/dotfiles/vim ~/.vim
|
||||||
rm ~/.vimperatorrc; ln -s ~/dotfiles/vimperatorrc ~/.vimperatorrc
|
rm ~/.vimperatorrc; ln -s ~/dotfiles/vimperatorrc ~/.vimperatorrc
|
||||||
|
|
||||||
|
# Mail stuff
|
||||||
|
rm ~/.mbsyncrc; ln -s ~/dotfiles/mbsyncrc ~/.mbsyncrc
|
||||||
|
rm ~/.msmtprc; ln -s ~/dotfiles/msmtprc ~/.msmtprc
|
||||||
|
rm -rf ~/.config/alot; ln -s ~/dotfiles/alot ~/.config/
|
||||||
|
rm -rf ~/.config/afew; ln -s ~/dotfiles/afew ~/.config/
|
||||||
|
rmdir ~/.mail/.notmuch/hooks; mkdir -p ~/.mail/.notmuch/hooks; ln -s ~/dotfiles/notmuch-post-new ~/.mail/.notmuch/hooks/post-new
|
||||||
|
|
||||||
# TODO mac only
|
# TODO mac only
|
||||||
rm ~/.slate.js; ln -s ~/dotfiles/slate.js ~/.slate.js
|
rm ~/.slate.js; ln -s ~/dotfiles/slate.js ~/.slate.js
|
||||||
rm ~/.urlview; ln -s ~/dotfiles/urlview.mac ~/.urlview
|
rm ~/.urlview; ln -s ~/dotfiles/urlview.mac ~/.urlview
|
||||||
|
|||||||
8
zshrc
8
zshrc
@@ -52,7 +52,13 @@ fi
|
|||||||
chruby $(cat ~/.ruby-version)
|
chruby $(cat ~/.ruby-version)
|
||||||
|
|
||||||
# GPG
|
# GPG
|
||||||
~/dotfiles/bin/gpg-agent.sh
|
GPG_AGENT=$(which gpg-agent)
|
||||||
|
GPG_TTY=`tty`
|
||||||
|
export GPG_TTY
|
||||||
|
|
||||||
|
if [ -f ${GPG_AGENT} ]; then
|
||||||
|
. ~/dotfiles/bin/gpg-agent.sh
|
||||||
|
fi
|
||||||
|
|
||||||
#autoload predict-on
|
#autoload predict-on
|
||||||
#predict-on
|
#predict-on
|
||||||
|
|||||||
Reference in New Issue
Block a user