diff options
author | Amin Bandali <bandali@gnu.org> | 2019-08-06 22:24:25 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-08-06 22:26:15 -0400 |
commit | ab79953ae36c36b605cd0de0fa1b2f3dc52adac4 (patch) | |
tree | 47e3b84121be4bd846623a8f72e4aee36c487cbf | |
parent | 750085ffb2a44f1d020c86f8578607cebe839f91 (diff) | |
download | configs-ab79953ae36c36b605cd0de0fa1b2f3dc52adac4.tar.gz configs-ab79953ae36c36b605cd0de0fa1b2f3dc52adac4.tar.xz configs-ab79953ae36c36b605cd0de0fa1b2f3dc52adac4.zip |
isync, bash, eshell: try imap syncing my gnu mail from my server
-rw-r--r-- | .bashrc | 4 | ||||
-rw-r--r-- | .config/isync/mbsyncrc | 25 | ||||
-rw-r--r-- | .emacs.d/var/eshell/alias | 4 |
3 files changed, 27 insertions, 6 deletions
@@ -56,9 +56,7 @@ alias mv="mv -iv" alias cp="cp -iv" alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc' alias getmail='getmail --getmaildir "$XDG_CONFIG_HOME"/getmail --rcfile getmailrc' -alias mb="mbsync csclub; mbsync uwaterloo; mbsync shemshak" -alias gm="getmail" -alias m="mb; gm" +alias m="mbsync csclub; mbsync uwaterloo; mbsync shemshak; mbsync gnub" alias best="youtube-dl -f best" alias e="$EDITOR" alias se="SUDO_EDITOR=\"emacsclient\" sudo -e" diff --git a/.config/isync/mbsyncrc b/.config/isync/mbsyncrc index 5b9f8d1..2a413be 100644 --- a/.config/isync/mbsyncrc +++ b/.config/isync/mbsyncrc @@ -29,6 +29,31 @@ Slave :shemshak-local: Patterns * ###### +IMAPAccount gnub +Host mail.shemshak.org +User gnu@bandalis.org +PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/gnub.gpg" +SSLType IMAPS + +IMAPStore gnub-remote +Account gnub + +IMAPAccount gnub-local +Host 127.0.0.1 +Port 143 +User bandali@gnu.local +PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/gnub-local.gpg" +SSLType None + +IMAPStore gnub-local +Account gnub-local + +Channel gnub +Master :gnub-remote: +Slave :gnub-local: +Patterns * + +###### IMAPAccount uwaterloo Host connect.uwaterloo.ca User abandali diff --git a/.emacs.d/var/eshell/alias b/.emacs.d/var/eshell/alias index 5d2f768..1f18034 100644 --- a/.emacs.d/var/eshell/alias +++ b/.emacs.d/var/eshell/alias @@ -16,6 +16,4 @@ alias vi find-file $1 alias vim find-file $1 alias mbsync mbsync -c $XDG_CONFIG_HOME/isync/mbsyncrc $* alias getmail getmail --getmaildir $XDG_CONFIG_HOME/getmail --rcfile getmailrc $* -alias mb mbsync csclub; mbsync uwaterloo; mbsync shemshak -alias gm getmail -alias m mb; gm +alias m mbsync csclub; mbsync uwaterloo; mbsync shemshak; mbsync gnub |