From: Amin Bandali Date: Tue, 27 Apr 2021 23:17:40 +0000 (-0400) Subject: Local SFL mail. X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/1fff63611a867b2dddc8d2ac84fd7f577b1f8964?hp=6b9cf67ba6fd933e37792c35a8afde43f32bcd02 Local SFL mail. --- diff --git a/.config/isync/mbsyncrc b/.config/isync/mbsyncrc index 81c0191..a74b565 100644 --- a/.config/isync/mbsyncrc +++ b/.config/isync/mbsyncrc @@ -103,3 +103,28 @@ Channel csclub Master :csclub-remote: Slave :csclub-local: Patterns * + +###### +IMAPAccount sfl +Host mail.savoirfairelinux.com +User amin.bandali +PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/sfl.gpg" +SSLType IMAPS + +IMAPStore sfl-remote +Account sfl + +IMAPAccount sfl-local +Host 127.0.0.1 +Port 143 +User amin.bandali@savoirfairelinux.local +PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/sfl-local.gpg" +SSLType None + +IMAPStore sfl-local +Account sfl-local + +Channel sfl +Master :sfl-remote: +Slave :sfl-local: +Patterns * diff --git a/.emacs.d/etc/eshell/aliases b/.emacs.d/etc/eshell/aliases index 203b616..c13a88c 100644 --- a/.emacs.d/etc/eshell/aliases +++ b/.emacs.d/etc/eshell/aliases @@ -17,4 +17,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 m mbsync csclub; mbsync uwaterloo; mbsync shemshak; mbsync gnub; getmail +alias m mbsync sfl; mbsync csclub; mbsync uwaterloo; mbsync shemshak; mbsync gnub; getmail diff --git a/.emacs.d/lisp/bandali-gnus.el b/.emacs.d/lisp/bandali-gnus.el index 2d17361..2c86407 100644 --- a/.emacs.d/lisp/bandali-gnus.el +++ b/.emacs.d/lisp/bandali-gnus.el @@ -127,9 +127,11 @@ ;; catch-all "INBOX"))) (nnimap "sfl" - (nnimap-stream tls) - (nnimap-address "mail.savoirfairelinux.com") - (nnimap-user "amin.bandali"))) + (nnimap-stream plain) + (nnimap-address "127.0.0.1") + (nnimap-server-port 143) + (nnimap-authenticator plain) + (nnimap-user "amin.bandali@savoirfairelinux.local"))) gnus-message-archive-group "nnimap+gnu:INBOX" gnus-parameters '(("l\\.deepspec"