summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-07-14 22:48:25 +0000
committernoa@gaiwan.org2024-07-14 22:48:25 +0000
commit7173d2a855732bc3e520558833955ed8b12af35f (patch)
tree64803b7a7b0a5ae6d44aa40876c1a1a027b303d4
parent95eaeb775c3a9cbafb6f27147eecb68bc201c0c8 (diff)
Move external msmtp and mpop config into config.org
-rw-r--r--config.org48
1 files changed, 47 insertions, 1 deletions
diff --git a/config.org b/config.org
index 8a77071..ff5d7ee 100644
--- a/config.org
+++ b/config.org
@@ -1862,12 +1862,35 @@ The contents of the signature file is listed below.   Currently i only have two
   ~noa (https://noa.pub)
    • I try to reply to formal emails in three sentences or fewer; excuse my brevity.
    • I queue replies and batch send them at intervals; excuse my untimeliness.
-	  #+end_src
+#+end_src
 
 #+begin_src elisp
 (add-hook 'mu4e-view-mode-hook #'visual-line-fill-column-mode)
 #+end_src
 
+** Fetching mail with mpop
+#+begin_src text :tangle ~/.config/mpop/config
+  defaults
+  tls on
+  tls_starttls off
+  auth on
+  port 995
+  uidls_file ~/data/mail/mpop-uidls/%U_at_%H
+
+  account noa.pub
+  keep on
+  host mail.noa.pub
+  user noa@noa.pub
+  delivery mbox ~/data/mail/inbox/noa.pub.mbox
+
+  account gaiwan.org
+  keep on
+  host pop.fastmail.com
+  user noa@gaiwan.org
+  delivery mbox ~/data/mail/inbox/gaiwan.mbox
+  passwordeval "cat ~/.mpop-pass"
+#+end_src
+
 ** Reading mail with rmail
 I have experimented with lots of different methods of reading mail, both in and out of emacs.  But i keep coming back to rmail, despite its many, many warts.
 
@@ -1963,6 +1986,29 @@ At the moment, i am still recording sent mail in the outbox directory of my mail
   (setopt message-interactive t)
 #+end_src
 
+#+begin_src text :tangle ~/.config/msmtp/config
+  defaults
+  auth on
+  tls on
+
+  account fastmail
+  host smtp.fastmail.com
+  port 465
+  tls_starttls off
+  from noa@gaiwan.org
+  user noa@gaiwan.org
+  passwordeval "pass msmtp-baby | head -n1"
+
+  account noa.pub
+  host mail.noa.pub
+  port 465
+  tls_starttls off
+  from noa@noa.pub
+  user noa@noa.pub
+
+  account default: noa.pub
+#+end_src
+
 * Network management
 #+begin_src elisp
   (package-ensure 'enwc)