add LUUGmail

master
paulwalko 2017-12-05 19:55:57 -05:00
parent e44a15f722
commit 9050f51e30
8 changed files with 83 additions and 34 deletions

View File

@ -7,3 +7,4 @@ urxvt.shading: 30
urxvt*font: xft:DejaVuSansMono:pixelsize=14 urxvt*font: xft:DejaVuSansMono:pixelsize=14
urxvt*boldFont: xft:DejaVuSansMono:pixelsize=14 urxvt*boldFont: xft:DejaVuSansMono:pixelsize=14
#Xft.dpi: 180

37
msmtprc
View File

@ -5,25 +5,32 @@ tls_starttls
tls_trust_file /etc/ssl/certs/ca-certificates.crt tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.mutt/msmtp.log logfile ~/.mutt/msmtp.log
account vt account vt
host smtp.gmail.com host smtp.gmail.com
port 587 port 587
user pwalko@vt.edu user pwalko@vt.edu
passwordeval "pass email/vt" passwordeval "pass email/vt"
from pwalko@vt.edu from pwalko@vt.edu
account walko account walko
host smtp.gmail.com host smtp.gmail.com
port 587 port 587
user paul@walko.org user paul@walko.org
passwordeval "pass email/walko" passwordeval "pass email/walko"
from paul@walko.org from paul@walko.org
account gmail account gmail
host smtp.gmail.com host smtp.gmail.com
port 587 port 587
user paulsw.pw@gmail.com user paulsw.pw@gmail.com
passwordeval "pass email/gmail" passwordeval "pass email/gmail"
from paulsw.pw@gmail.com from paulsw.pw@gmail.com
account vtluug
host acidburn.vtluug.org
port 587
user pew
passwordeval "pass email/vtluug"
from pew@vtluug.org
account default : vt account default : vt

View File

@ -1,6 +1,6 @@
set from = "paulsw.pw@gmail.com" set from = "paulsw.pw@gmail.com"
set sendmail = "/usr/bin/msmtp -a gmail" set sendmail = "/usr/bin/msmtp -a gmail"
set mbox = "+gmail/archive" set mbox = "+gmail/archive"
set postponed = "+gmail/drafts" set postponed = "+gmail/drafts"
color status red default color status red default

7
mutt/accounts/vtluug Normal file
View File

@ -0,0 +1,7 @@
set from = "pew@vtluug.org"
set imap_user = pew
set sendmail = "/usr/bin/msmtp -a vtluug"
set mbox = "+vtluug/archive"
set postponed = "+vtluug/drafts"
color status red default

8
mutt/msmtp.log Normal file
View File

@ -0,0 +1,8 @@
Nov 22 16:36:32 host=smtp.gmail.com tls=on auth=on user=pwalko@vt.edu from=pwalko@vt.edu recipients=ocvt-officers-g@vt.edu mailsize=2822 smtpstatus=250 smtpmsg='250 2.0.0 OK 1511386642 l200sm2445213itl.36 - gsmtp' exitcode=EX_OK
Dec 05 19:47:47 host=587 tls=on auth=on user=pew from=pew@vtluug.org recipients=giggybyte@vt.edu errormsg='cannot connect to 587, port 25: Invalid argument' exitcode=EX_TEMPFAIL
Dec 05 19:49:18 host=587 tls=on auth=on user=pew from=pew@vtluug.org recipients=paul@walko.org errormsg='cannot connect to 587, port 25: Invalid argument' exitcode=EX_TEMPFAIL
Dec 05 19:51:19 host=465 tls=on auth=on user=pew from=pew@vtluug.org recipients=paul@walko.org errormsg='cannot connect to 465, port 25: Invalid argument' exitcode=EX_TEMPFAIL
Dec 05 19:52:20 host=587 tls=on auth=on user=pew from=pew@vtluug.org recipients=paul@walko.org errormsg='cannot connect to 587, port 25: Invalid argument' exitcode=EX_TEMPFAIL
Dec 05 19:53:34 host=587 tls=on auth=on user=pew from=pew@vtluug.org recipients=paul@walko.org errormsg='cannot connect to 587, port 25: Invalid argument' exitcode=EX_TEMPFAIL
Dec 05 19:53:42 host=acidburn.vtluug.org tls=on auth=on user=pew from=pew@vtluug.org recipients=paul@walko.org mailsize=65 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued as E0EF1140102' exitcode=EX_OK
Dec 05 19:54:46 host=acidburn.vtluug.org tls=on auth=on user=pew from=pew@vtluug.org recipients=dws@vt.edu mailsize=289 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued as 5D21A140102' exitcode=EX_OK

View File

@ -2,16 +2,16 @@
set realname = "Paul Walko" set realname = "Paul Walko"
set sendmail = "/usr/bin/msmtp" set sendmail = "/usr/bin/msmtp"
set sendmail_wait = 0 set sendmail_wait = 0
set editor = "vim" set editor = "vim"
# General things # General things
set folder = ~/.mail set folder = ~/.mail
set mailcap_path = ~/.mutt/mailcap set mailcap_path = ~/.mutt/mailcap
set tmpdir = ~/Desktop/temp set tmpdir = ~/Desktop/temp
set wait_key = no set wait_key = no
set mbox_type = Maildir set mbox_type = Maildir
set timeout = 3 set timeout = 3
set mail_check = 0 set mail_check = 0
unset move unset move
set delete set delete
@ -45,9 +45,10 @@ bind attach <return> view-mailcap
macro pager \Cu "|urlview<enter>" "call urlview to open links" macro pager \Cu "|urlview<enter>" "call urlview to open links"
# Account Settings # Account Settings
set spoolfile = "+vt/INBOX" set spoolfile = "+vtluug/INBOX"
mailboxes +vt/INBOX \ mailboxes +vtluug/INBOX \
+vt/INBOX \
+walko/INBOX \ +walko/INBOX \
+gmail/INBOX \ +gmail/INBOX \
+vt/9_fall17 \ +vt/9_fall17 \
@ -60,6 +61,7 @@ mailboxes +vt/INBOX \
+gmail/0_updates \ +gmail/0_updates \
+gmail/1_social \ +gmail/1_social \
folder-hook vt/* source ~/.mutt/accounts/vt folder-hook vt/* source ~/.mutt/accounts/vt
folder-hook walko/* source ~/.mutt/accounts/walko folder-hook walko/* source ~/.mutt/accounts/walko
folder-hook gmail/* source ~/.mutt/accounts/gmail folder-hook gmail/* source ~/.mutt/accounts/gmail
folder-hook vtluug/* source ~/.mutt/accounts/vtluug

View File

@ -1,7 +1,7 @@
[general] [general]
ui = ttyui ui = ttyui
accounts = vt, walko, gmail accounts = vt, walko, gmail, vtluug
maxsyncaccounts = 3 maxsyncaccounts = 4
pythonfile = ~/.mutt/offlineimap.py pythonfile = ~/.mutt/offlineimap.py
############################ ############################
@ -27,9 +27,16 @@ remoterepository = gmail-remote
autorefresh = 0.5 autorefresh = 0.5
quick = 10 quick = 10
# vtluug
[Account vtluug]
localrepository = vtluug-local
remoterepository = vtluug-remote
autorefresh = 0.5
quick = 10
########################### ###########################
### Repositories ### Repositories
# vt ## vt
[Repository vt-local] [Repository vt-local]
type = Maildir type = Maildir
localfolders = ~/.mail/vt localfolders = ~/.mail/vt
@ -64,11 +71,11 @@ folderfilter = lambda folder: folder not in [
'[Gmail]/Chats', '[Gmail]/Chats',
] ]
# walko ## walko
[Repository walko-local] [Repository walko-local]
type = Maildir type = Maildir
localfolders = ~/.mail/walko localfolders = ~/.mail/walko
nametrans = lambda folder: { nametrans = lambda folder: {
'drafts': '[Gmail]/Drafts', 'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail', 'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred', 'flagged': '[Gmail]/Starred',
@ -98,7 +105,7 @@ folderfilter = lambda folder: folder not in [
'[Gmail]/Chats', '[Gmail]/Chats',
] ]
# gmail ## gmail
[Repository gmail-local] [Repository gmail-local]
type = Maildir type = Maildir
localfolders = ~/.mail/gmail localfolders = ~/.mail/gmail
@ -132,3 +139,20 @@ folderfilter = lambda folder: folder not in [
'[Gmail]/Important', '[Gmail]/Important',
'[Gmail]/Chats', '[Gmail]/Chats',
] ]
## vtluug
[Repository vtluug-local]
type = Maildir
localfolders = ~/.mail/vtluug
[Repository vtluug-remote]
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
maxconnections = 1
type = IMAP
remotehost = acidburn.vtluug.org
ssl = yes
keepalive = 60
holdconnectionopen = yes
remoteuser = pew
remotepasseval = get_pass("vtluug")
realdelete = no

2
zshrc
View File

@ -17,7 +17,7 @@ export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="steeef" ZSH_THEME="steeef"
## Plugins ## Plugins
plugins=(git vi-mode history-substring-search) plugins=(git history-substring-search)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh