Finally getting notmuch + mbsync + msmtp + alot + afew working. Only with work mail so far
This commit is contained in:
@@ -6,7 +6,7 @@ Current tool set:
|
||||
- tmux
|
||||
- zsh (I try fish every few months.. never sticks though)
|
||||
- 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
|
||||
- Firefox + vimperator
|
||||
|
||||
|
||||
23
afew/config
23
afew/config
@@ -1,7 +1,28 @@
|
||||
# This is the default filter chain
|
||||
[SpamFilter]
|
||||
#[ClassifyingFilter]
|
||||
[KillThreadsFilter]
|
||||
[ListMailsFilter]
|
||||
[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]
|
||||
|
||||
[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]
|
||||
[[IOCOM]]
|
||||
realname = Dustin Swan
|
||||
address = dustinswan@gmail.com
|
||||
address = dswan@iocom.com
|
||||
gpg_key = 2B3A6377
|
||||
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]]
|
||||
realname = Dustin Swan
|
||||
address = dswan@iocom.com
|
||||
address = dustinswan@gmail.com
|
||||
gpg_key = 2B3A6377
|
||||
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 haskell-platform
|
||||
brew install brew-cask
|
||||
brew install gnupg
|
||||
brew install gpg-agent
|
||||
brew install gpgme
|
||||
brew cask install rdio
|
||||
brew cask install alfred
|
||||
brew cask alfred link
|
||||
|
||||
4
mbsyncrc
4
mbsyncrc
@@ -13,11 +13,11 @@ Account gmail
|
||||
MaildirStore gmail-local
|
||||
Path ~/.mail/gmail/
|
||||
Inbox ~/.mail/gmail/INBOX
|
||||
Flatten .
|
||||
|
||||
Channel gmail
|
||||
Master :gmail-remote:
|
||||
Slave :gmail-local:
|
||||
#Path "[Gmail]."
|
||||
# Include everything
|
||||
Patterns *
|
||||
# Automatically create missing mailboxes, both locally and on the server
|
||||
@@ -37,10 +37,12 @@ UseIMAPS yes
|
||||
|
||||
IMAPStore iocom-remote
|
||||
Account iocom
|
||||
Path INBOX
|
||||
|
||||
MaildirStore iocom-local
|
||||
Path ~/.mail/iocom/
|
||||
Inbox ~/.mail/iocom/INBOX
|
||||
Flatten .
|
||||
|
||||
Channel iocom
|
||||
Master :iocom-remote:
|
||||
|
||||
16
msmtprc
16
msmtprc
@@ -1,21 +1,31 @@
|
||||
defaults
|
||||
protocol smtp
|
||||
logfile ~/.msmtp.log
|
||||
|
||||
account DustinswanGmail
|
||||
host smtp.gmail.com
|
||||
port 587
|
||||
protocol smtp
|
||||
auth on
|
||||
from dustinswan@gmail.com
|
||||
user dustinswan@gmail.com
|
||||
passwordeval gpg --no-tty -d ~/.gmail-password.gpg
|
||||
auth on
|
||||
#tls on
|
||||
#tls_trust_file ~/.mutt/gmail_cert
|
||||
|
||||
|
||||
|
||||
account DswanIOCOM
|
||||
host secure.emailsrvr.com
|
||||
port 587
|
||||
protocol smtp
|
||||
auth on
|
||||
port 587
|
||||
from dswan@iocom.com
|
||||
tls on
|
||||
tls_starttls on
|
||||
tls_trust_file /usr/local/etc/openssl/cert.pem
|
||||
user dswan@insors.com
|
||||
passwordeval gpg --no-tty -d ~/.iocom-password.gpg
|
||||
passwordeval gpg -d ~/.iocom-password.gpg
|
||||
|
||||
|
||||
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
|
||||
[[ -s luakit ]] && export BROWSER=luakit
|
||||
|
||||
alias browser='open'
|
||||
[[ -s luakit ]] && alias browser='luakit'
|
||||
#alias browser='open -a Firefox.app'
|
||||
#[[ -s luakit ]] && alias browser='luakit'
|
||||
|
||||
# IOCOM stuff
|
||||
export P4USER=dswan
|
||||
|
||||
Reference in New Issue
Block a user