summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/isync/mbsyncrc25
-rw-r--r--.emacs.d/etc/eshell/aliases2
-rw-r--r--.emacs.d/lisp/bandali-gnus.el8
3 files changed, 31 insertions, 4 deletions
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"