aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/common/.config/.dmailpass.gpgbin0 -> 604 bytes
-rw-r--r--dotfiles/common/.mbsyncrc59
-rw-r--r--dotfiles/common/.msmtprc15
3 files changed, 74 insertions, 0 deletions
diff --git a/dotfiles/common/.config/.dmailpass.gpg b/dotfiles/common/.config/.dmailpass.gpg
new file mode 100644
index 0000000..bc8dd4d
--- /dev/null
+++ b/dotfiles/common/.config/.dmailpass.gpg
Binary files differ
diff --git a/dotfiles/common/.mbsyncrc b/dotfiles/common/.mbsyncrc
index fae84ff..05cb4a2 100644
--- a/dotfiles/common/.mbsyncrc
+++ b/dotfiles/common/.mbsyncrc
@@ -141,3 +141,62 @@ Channel cmail-archive
Channel cmail-starred
Channel cmail-spam
+IMAPAccount dmail
+Host imap.gmail.com
+User craig.jennings@deepsat.com
+PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.config/.dmailpass.gpg"
+Port 993
+TLSType IMAPS
+AuthMechs Login
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore dmail-remote
+Account dmail
+
+MaildirStore dmail-local
+Path ~/.mail/dmail/
+Inbox ~/.mail/dmail/INBOX
+
+Channel dmail-inbox
+Far :dmail-remote:
+Near :dmail-local:
+Patterns "INBOX"
+Create Both
+Expunge Both
+SyncState *
+
+Channel dmail-trash
+Far :dmail-remote:"[Gmail]/Trash"
+Near :dmail-local:"Trash"
+Create Both
+Expunge Both
+SyncState *
+
+Channel dmail-drafts
+Far :dmail-remote:"[Gmail]/Drafts"
+Near :dmail-local:"Drafts"
+Create Both
+Expunge Both
+SyncState *
+
+Channel dmail-sent
+Far :dmail-remote:"[Gmail]/Sent Mail"
+Near :dmail-local:"Sent"
+Create Both
+Expunge Both
+SyncState *
+
+Channel dmail-starred
+Far :dmail-remote:"[Gmail]/Starred"
+Near :dmail-local:"Starred"
+Create Both
+Expunge Both
+SyncState *
+
+Group dmail
+Channel dmail-inbox
+Channel dmail-trash
+Channel dmail-drafts
+Channel dmail-sent
+Channel dmail-starred
+
diff --git a/dotfiles/common/.msmtprc b/dotfiles/common/.msmtprc
index 6bd8c03..4e06c46 100644
--- a/dotfiles/common/.msmtprc
+++ b/dotfiles/common/.msmtprc
@@ -35,4 +35,19 @@ logfile ~/.msmtp.cmail.log
# ======================================================================
+account dmail
+tls_trust_file /etc/ssl/certs/ca-certificates.crt
+auth on
+host smtp.gmail.com
+port 465
+protocol smtp
+from craig.jennings@deepsat.com
+user craig.jennings@deepsat.com
+passwordeval "gpg2 -q --for-your-eyes-only --no-tty -d ~/.config/.dmailpass.gpg"
+tls on
+tls_starttls off
+logfile ~/.msmtp.dmail.log
+
+# ======================================================================
+
account default : cmail