From 1530933d8d98e6ae402d0eb627425b07783bf6cd Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 5 Oct 2023 19:03:05 +0100 Subject: proton mail tweaks --- custom/jao-custom-email.el | 5 +++++ custom/jao-custom-gnus.el | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'custom') 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 -- cgit v1.2.3