More Mu4e/Sendmail tweaking

This commit is contained in:
Gergely Polonkai 2021-03-09 17:51:13 +01:00
parent 4497b54fb0
commit 990a24e391
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
2 changed files with 19 additions and 6 deletions

View File

@ -2353,7 +2353,8 @@ accompanying function will be added to ~mu4e-view-mode-hook~.
(mu4e-sent-folder . "/Polonkai/[Gmail].Sendur p&APM-stur")
(mu4e-drafts-folder . "/Polonkai/[Gmail].Dr&APY-g")
(mu4e-trash-folder . "/Polonkai/[Gmail].Rusl")
(mu4e-refile-folder . "/Polonkai/[Gmail].Dr&APY-g")))
(mu4e-refile-folder . "/Polonkai/[Gmail].Dr&APY-g")
(message-sendmail-extra-arguments . ("--account=polonkai"))))
,(make-mu4e-context
:name "Benchmark.games"
:enter-func (lambda () (mu4e-message "Entering Benchmark.games Context"))
@ -2374,7 +2375,8 @@ accompanying function will be added to ~mu4e-view-mode-hook~.
(mu4e-sent-folder . "/GT2/[Gmail].Sent Mail")
(mu4e-drafts-folder . "/GT2/[Gmail].Drafts")
(mu4e-trash-folder . "/GT2/[Gmail].Trash")
(mu4e-refile-folder . "/GT2/[Gmail].Drafts")))
(mu4e-refile-folder . "/GT2/[Gmail].Drafts")
(message-sendmail-extra-arguments . ("--account=gt2"))))
,(make-mu4e-context
:name "Private"
:enter-func (lambda () (mu4e-message "Entering Private Context"))
@ -2386,10 +2388,11 @@ accompanying function will be added to ~mu4e-view-mode-hook~.
(mu4e-sent-folder . "/Private/Sent")
(mu4e-drafts-folder . "/Private/Drafts")
(mu4e-trash-folder . "/Private/Trash")
(mu4e-refile-folder . "/Private/Drafts"))))
(mu4e-refile-folder . "/Private/Drafts")
(message-sendmail-extra-arguments . ("--account=private" "--read-envelope-from")))))
org-mu4e-link-query-in-headers-mode nil)
:custom
(mu4e-completing-read-function ivy-completing-read)
(mu4e-completing-read-function 'ivy-completing-read)
(mu4e-context-policy 'pick-first)
(mu4e-confirm-quit nil)
(mail-user-agent 'sendmail-user-agent)
@ -2411,6 +2414,18 @@ accompanying function will be added to ~mu4e-view-mode-hook~.
(mu4e-maildirs-extension-custom-list '("INBOX")))
#+END_SRC
*** Also, some sendmail hacking
#+begin_src emacs-lisp
(use-package sendmail
:custom
(sendmail-program "/usr/bin/msmtp")
(message-sendmail-f-is-evil t)
(message-sendmail-extra-arguments '("--read-envelope-from"))
(send-mail-function 'sendmail-send-it)
(message-send-mail-function 'message-send-mail-with-sendmail))
#+end_src
** ViMs ~ci~ functionality
#+BEGIN_SRC emacs-lisp

View File

@ -195,8 +195,6 @@
(engine . jinja)
(bug-reference-bug-regexp . "#\\(?2:[0-9]+\\)")))
'(scroll-margin 2)
'(send-mail-function 'sendmail-send-it)
'(sendmail-program "/usr/bin/msmtp")
'(sgml-basic-offset 4)
'(show-trailing-whitespace t)
'(suggest-key-bindings nil)