mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
mail: update fingerprints
This commit is contained in:
parent
8fb066e961
commit
e77b7a5d9d
2 changed files with 20 additions and 6 deletions
|
|
@ -19,8 +19,6 @@
|
||||||
(evil-collection-notmuch-toggle-tag "unread" "search" #'ignore))
|
(evil-collection-notmuch-toggle-tag "unread" "search" #'ignore))
|
||||||
|
|
||||||
(use-package notmuch
|
(use-package notmuch
|
||||||
:if (not my/is-termux)
|
|
||||||
;; :ensure nil
|
|
||||||
:commands (notmuch notmuch-search)
|
:commands (notmuch notmuch-search)
|
||||||
:init
|
:init
|
||||||
(my/use-colors
|
(my/use-colors
|
||||||
|
|
@ -156,3 +154,7 @@
|
||||||
(my/password-store-get "Job/Digital/Email/pvkorytov@etu.ru"))
|
(my/password-store-get "Job/Digital/Email/pvkorytov@etu.ru"))
|
||||||
|
|
||||||
(add-hook 'notmuch-mua-send-hook #'my/ensure-password)
|
(add-hook 'notmuch-mua-send-hook #'my/ensure-password)
|
||||||
|
|
||||||
|
(use-package ol-notmuch
|
||||||
|
:straight t
|
||||||
|
:after (org notmuch))
|
||||||
|
|
|
||||||
20
Mail.org
20
Mail.org
|
|
@ -126,7 +126,7 @@ remotehost = mbox.etu.ru
|
||||||
remoteuser = <<mail-username()>>
|
remoteuser = <<mail-username()>>
|
||||||
remotepass = <<mail-password()>>
|
remotepass = <<mail-password()>>
|
||||||
remoteport = 993
|
remoteport = 993
|
||||||
cert_fingerprint = 07bdfab4eaa79f5fc8ab93cd9ad0ba025ea0b4e5
|
cert_fingerprint = 416b1f7f18d68a65f5e75bb1af5d65ea5e20739e
|
||||||
#+end_src
|
#+end_src
|
||||||
* Notmuch
|
* Notmuch
|
||||||
| Guix dependency |
|
| Guix dependency |
|
||||||
|
|
@ -389,11 +389,17 @@ host mbox.etu.ru
|
||||||
port 465
|
port 465
|
||||||
tls on
|
tls on
|
||||||
tls_starttls off
|
tls_starttls off
|
||||||
tls_fingerprint 87:1F:17:1C:12:A4:DE:82:6F:CF:E5:E6:9C:EE:F8:0B:D1:7D:B2:00:F9:7B:2C:96:21:65:FA:0A:F5:24:8E:0E
|
tls_fingerprint 69:E9:61:A0:DE:8B:AD:F2:C0:90:2F:55:F9:D6:80:7F:0B:AB:7E:1B:FD:56:C0:EE:35:ED:E2:EB:DD:80:AD:C3
|
||||||
from pvkorytov@etu.ru
|
from pvkorytov@etu.ru
|
||||||
user pvkorytov
|
user pvkorytov
|
||||||
passwordeval "pass show Job/Digital/Email/pvkorytov@etu.ru | head -n 1"
|
passwordeval "pass show Job/Digital/Email/pvkorytov@etu.ru | head -n 1"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
To get a fingerprint:
|
||||||
|
#+begin_src bash :tangle no
|
||||||
|
msmtp --serverinfo --tls --tls-certcheck=off -a pvkorytov
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Emacs
|
* Emacs
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args+: :tangle ~/.emacs.d/mail.el
|
:header-args+: :tangle ~/.emacs.d/mail.el
|
||||||
|
|
@ -437,8 +443,6 @@ Some functions to toggle tags:
|
||||||
And notmuch settings:
|
And notmuch settings:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package notmuch
|
(use-package notmuch
|
||||||
:if (not my/is-termux)
|
|
||||||
;; :ensure nil
|
|
||||||
:commands (notmuch notmuch-search)
|
:commands (notmuch notmuch-search)
|
||||||
:init
|
:init
|
||||||
(my/use-colors
|
(my/use-colors
|
||||||
|
|
@ -666,6 +670,14 @@ Otherwise =msmtp= may call =pinentry= while Emacs is locked, which means EXWM ca
|
||||||
|
|
||||||
(add-hook 'notmuch-mua-send-hook #'my/ensure-password)
|
(add-hook 'notmuch-mua-send-hook #'my/ensure-password)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Org intergration
|
||||||
|
[[https://git.sr.ht/~tarsius/ol-notmuch][ol-notmuch]] is a package that adds Org links to notmuch messages.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package ol-notmuch
|
||||||
|
:straight t
|
||||||
|
:after (org notmuch))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* mailcap
|
* mailcap
|
||||||
mailcap file is a file which defines how to read to different MIME types. Notmuch also uses it, so why not keep it here.
|
mailcap file is a file which defines how to read to different MIME types. Notmuch also uses it, so why not keep it here.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue