summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2023-10-05 19:03:05 +0100
committerjao <jao@gnu.org>2023-10-05 19:03:05 +0100
commit1530933d8d98e6ae402d0eb627425b07783bf6cd (patch)
treeec4ed545f17177132bbafe020ac9060c05bb522e /custom
parent9cfab712fc9f03414a7602a3fe1332a8bffea5a5 (diff)
downloadelibs-1530933d8d98e6ae402d0eb627425b07783bf6cd.tar.gz
elibs-1530933d8d98e6ae402d0eb627425b07783bf6cd.tar.bz2
proton mail tweaks
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-email.el5
-rw-r--r--custom/jao-custom-gnus.el9
2 files changed, 5 insertions, 9 deletions
diff --git a/custom/jao-custom-email.el b/custom/jao-custom-email.el
index 928c481..373d895 100644
--- a/custom/jao-custom-email.el
+++ b/custom/jao-custom-email.el
@@ -25,6 +25,9 @@
(when (file-newer-than-file-p org-file gnus-init-file)
(org-babel-tangle-file org-file)))
+;;; proton
+(use-package jao-proton-utils)
+
;;; message mode
;;;; customization
(setq message-send-mail-function 'message-send-mail-with-sendmail
@@ -214,6 +217,8 @@
(defun jao-sendmail-local ()
(setq send-mail-function 'sendmail-send-it)
(setq smtpmail-auth-supported nil) ;; (cram-md5 plain login)
+ (setq smtpmail-servers-requiring-authorization nil)
+ (setq smtpmail-smtp-user nil)
(setq smtpmail-smtp-server "127.0.0.1")
(setq smtpmail-smtp-service 25))
diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el
index f344465..abe8ab8 100644
--- a/custom/jao-custom-gnus.el
+++ b/custom/jao-custom-gnus.el
@@ -195,15 +195,6 @@
nnml-get-new-mail t
nnml-directory message-directory)
-;; (when jao-gnus-use-pm-imap
-;; (add-to-list 'mail-sources
-;; '(imap :server "127.0.0.1" :port 1143 :user "jaor@pm.me"
-;; ;; :mailbox ("Labels/#inbox" "Labels/#hacking" "Labels/#bills"
-;; ;; "Labels/#drivel" "Labels/#prog" "Labels/#words")
-;; :mailbox ("Labels/words" "Folders/test")
-;; ;; :predicate "UNSEEN"
-;; )))
-
(when jao-gnus-use-nnml
(add-to-list
'gnus-secondary-select-methods