From: Amin Bandali Date: Wed, 7 Aug 2019 02:24:25 +0000 (-0400) Subject: isync, bash, eshell: try imap syncing my gnu mail from my server X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/ab79953ae36c36b605cd0de0fa1b2f3dc52adac4?hp=750085ffb2a44f1d020c86f8578607cebe839f91 isync, bash, eshell: try imap syncing my gnu mail from my server --- diff --git a/.bashrc b/.bashrc index e581cd3..91f47fb 100644 --- a/.bashrc +++ b/.bashrc @@ -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 @@ -28,6 +28,31 @@ Master :shemshak-remote: 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 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