Finally getting notmuch + mbsync + msmtp + alot + afew working. Only with work mail so far
This commit is contained in:
parent
9bd2f3a257
commit
6cda265a83
11 changed files with 73 additions and 10 deletions
|
|
@ -6,7 +6,7 @@ Current tool set:
|
||||||
- tmux
|
- tmux
|
||||||
- zsh (I try fish every few months.. never sticks though)
|
- zsh (I try fish every few months.. never sticks though)
|
||||||
- vim + vundle + too many plugins
|
- vim + vundle + too many plugins
|
||||||
- mutt + mbsync + notmuch (new to this. Also considering just notmuch + alot + afew)
|
- mbsync + notmuch + afew + alot + msmtp (Very new to this, but liking it so far)
|
||||||
- weechat
|
- weechat
|
||||||
- Firefox + vimperator
|
- Firefox + vimperator
|
||||||
|
|
||||||
|
|
|
||||||
23
afew/config
23
afew/config
|
|
@ -1,7 +1,28 @@
|
||||||
# This is the default filter chain
|
|
||||||
[SpamFilter]
|
[SpamFilter]
|
||||||
#[ClassifyingFilter]
|
#[ClassifyingFilter]
|
||||||
[KillThreadsFilter]
|
[KillThreadsFilter]
|
||||||
[ListMailsFilter]
|
[ListMailsFilter]
|
||||||
[ArchiveSentMailsFilter]
|
[ArchiveSentMailsFilter]
|
||||||
|
|
||||||
|
#[Filter.1]
|
||||||
|
#message = Tagging IOCOM netmon emails
|
||||||
|
#query = to:netmon@insors.com
|
||||||
|
#tags = +netmon;-new
|
||||||
|
|
||||||
|
[FolderNameFilter]
|
||||||
|
folder_blacklist = iocom/INBOX
|
||||||
|
folder_transforms = Archive:archive Drafts:drafts Sent:sent Trash:trash Builder:builder Info:info Netmon:netmon Spam:spam
|
||||||
|
|
||||||
|
[Filter.1]
|
||||||
|
message = Removing archived mails from inbox
|
||||||
|
query = tag:archive
|
||||||
|
tags = -new;-archive
|
||||||
|
|
||||||
[InboxFilter]
|
[InboxFilter]
|
||||||
|
|
||||||
|
[MailMover]
|
||||||
|
folders = iocom/INBOX/ iocom/INBOX.Archive/
|
||||||
|
max_age = 15
|
||||||
|
|
||||||
|
iocom/INBOX/ = 'NOT tag:inbox':iocom/INBOX.Archive/
|
||||||
|
iocom/INBOX.Archive/ = 'tag:inbox':iocom/INBOX/
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,16 @@ tabwidth = 4
|
||||||
[accounts]
|
[accounts]
|
||||||
[[IOCOM]]
|
[[IOCOM]]
|
||||||
realname = Dustin Swan
|
realname = Dustin Swan
|
||||||
address = dustinswan@gmail.com
|
address = dswan@iocom.com
|
||||||
gpg_key = 2B3A6377
|
gpg_key = 2B3A6377
|
||||||
sendmail_command = msmtp --account=DswanIOCOM -t
|
sendmail_command = msmtp --account=DswanIOCOM -t
|
||||||
|
sent_box = maildir:///users/dustinswan/.mail/iocom/INBOX.Sent
|
||||||
|
draft_box = maildir:///users/dustinswan/.mail/iocom/INBOX.Drafts
|
||||||
|
# sent_tags = sent
|
||||||
|
|
||||||
[[Gmail]]
|
[[Gmail]]
|
||||||
realname = Dustin Swan
|
realname = Dustin Swan
|
||||||
address = dswan@iocom.com
|
address = dustinswan@gmail.com
|
||||||
|
gpg_key = 2B3A6377
|
||||||
sendmail_command = msmtp --account=DustinswanGmail -t
|
sendmail_command = msmtp --account=DustinswanGmail -t
|
||||||
|
# sent_tags = sent
|
||||||
|
|
|
||||||
2
bin/browser
Executable file
2
bin/browser
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
open -a Firefox.app "$1"
|
||||||
5
bin/check_mail.sh
Executable file
5
bin/check_mail.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
while true; do
|
||||||
|
few -m; mbsync iocom; notmuch new
|
||||||
|
sleep 45
|
||||||
|
done
|
||||||
|
|
@ -42,6 +42,9 @@ brew install isync
|
||||||
brew install mosh
|
brew install mosh
|
||||||
brew install haskell-platform
|
brew install haskell-platform
|
||||||
brew install brew-cask
|
brew install brew-cask
|
||||||
|
brew install gnupg
|
||||||
|
brew install gpg-agent
|
||||||
|
brew install gpgme
|
||||||
brew cask install rdio
|
brew cask install rdio
|
||||||
brew cask install alfred
|
brew cask install alfred
|
||||||
brew cask alfred link
|
brew cask alfred link
|
||||||
|
|
|
||||||
4
mbsyncrc
4
mbsyncrc
|
|
@ -13,11 +13,11 @@ Account gmail
|
||||||
MaildirStore gmail-local
|
MaildirStore gmail-local
|
||||||
Path ~/.mail/gmail/
|
Path ~/.mail/gmail/
|
||||||
Inbox ~/.mail/gmail/INBOX
|
Inbox ~/.mail/gmail/INBOX
|
||||||
Flatten .
|
|
||||||
|
|
||||||
Channel gmail
|
Channel gmail
|
||||||
Master :gmail-remote:
|
Master :gmail-remote:
|
||||||
Slave :gmail-local:
|
Slave :gmail-local:
|
||||||
|
#Path "[Gmail]."
|
||||||
# Include everything
|
# Include everything
|
||||||
Patterns *
|
Patterns *
|
||||||
# Automatically create missing mailboxes, both locally and on the server
|
# Automatically create missing mailboxes, both locally and on the server
|
||||||
|
|
@ -37,10 +37,12 @@ UseIMAPS yes
|
||||||
|
|
||||||
IMAPStore iocom-remote
|
IMAPStore iocom-remote
|
||||||
Account iocom
|
Account iocom
|
||||||
|
Path INBOX
|
||||||
|
|
||||||
MaildirStore iocom-local
|
MaildirStore iocom-local
|
||||||
Path ~/.mail/iocom/
|
Path ~/.mail/iocom/
|
||||||
Inbox ~/.mail/iocom/INBOX
|
Inbox ~/.mail/iocom/INBOX
|
||||||
|
Flatten .
|
||||||
|
|
||||||
Channel iocom
|
Channel iocom
|
||||||
Master :iocom-remote:
|
Master :iocom-remote:
|
||||||
|
|
|
||||||
16
msmtprc
16
msmtprc
|
|
@ -1,21 +1,31 @@
|
||||||
|
defaults
|
||||||
|
protocol smtp
|
||||||
|
logfile ~/.msmtp.log
|
||||||
|
|
||||||
account DustinswanGmail
|
account DustinswanGmail
|
||||||
host smtp.gmail.com
|
host smtp.gmail.com
|
||||||
port 587
|
port 587
|
||||||
protocol smtp
|
protocol smtp
|
||||||
auth on
|
|
||||||
from dustinswan@gmail.com
|
from dustinswan@gmail.com
|
||||||
user dustinswan@gmail.com
|
user dustinswan@gmail.com
|
||||||
passwordeval gpg --no-tty -d ~/.gmail-password.gpg
|
passwordeval gpg --no-tty -d ~/.gmail-password.gpg
|
||||||
|
auth on
|
||||||
#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
|
|
||||||
protocol smtp
|
protocol smtp
|
||||||
auth on
|
auth on
|
||||||
|
port 587
|
||||||
from dswan@iocom.com
|
from dswan@iocom.com
|
||||||
|
tls on
|
||||||
|
tls_starttls on
|
||||||
|
tls_trust_file /usr/local/etc/openssl/cert.pem
|
||||||
user dswan@insors.com
|
user dswan@insors.com
|
||||||
passwordeval gpg --no-tty -d ~/.iocom-password.gpg
|
passwordeval gpg -d ~/.iocom-password.gpg
|
||||||
|
|
||||||
|
|
||||||
account default : DustinswanGmail
|
account default : DustinswanGmail
|
||||||
|
|
|
||||||
15
offlineimaprc
Normal file
15
offlineimaprc
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
[general]
|
||||||
|
accounts = IOCOM
|
||||||
|
|
||||||
|
[Account IOCOM]
|
||||||
|
localrepository = IOCOMLocal
|
||||||
|
remoterepository = IOCOMRemote
|
||||||
|
|
||||||
|
[Repository IOCOMLocal]
|
||||||
|
type = Maildir
|
||||||
|
localfolders = ~/.mail/iocom
|
||||||
|
|
||||||
|
[Repository IOCOMRemote]
|
||||||
|
type = IMAP
|
||||||
|
remotehost = secure.emailsrvr.com
|
||||||
|
remoteuser = dswan@insors.com
|
||||||
4
zshrc
4
zshrc
|
|
@ -18,8 +18,8 @@ export MOSH_TITLE_NOPREFIX=1
|
||||||
export BROWSER=open
|
export BROWSER=open
|
||||||
[[ -s luakit ]] && export BROWSER=luakit
|
[[ -s luakit ]] && export BROWSER=luakit
|
||||||
|
|
||||||
alias browser='open'
|
#alias browser='open -a Firefox.app'
|
||||||
[[ -s luakit ]] && alias browser='luakit'
|
#[[ -s luakit ]] && alias browser='luakit'
|
||||||
|
|
||||||
# IOCOM stuff
|
# IOCOM stuff
|
||||||
export P4USER=dswan
|
export P4USER=dswan
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue