diff --git a/config.org b/config.org index 7ec06f0..2ede935 100644 --- a/config.org +++ b/config.org @@ -554,6 +554,14 @@ GitLab push options are documented [[https://docs.gitlab.com/ee/user/project/pus ** Account configuration +This setting instructs =mu4e= to prompt for login credentials if none are found +when trying to connect to one of the servers that match the regex (see variable +documentation). + +#+begin_src emacs-lisp +(setq smtpmail-servers-requiring-authorization "smtp.migadu.com\\|smtp.lrde.epita.fr") +#+end_src + Setup my main email account. #+begin_src emacs-lisp @@ -575,15 +583,6 @@ Setup my main email account. (user-full-name . "Antoine Martin") (mu4e-compose-signature . "Antoine Martin")) nil) - -(set-email-account! "prologin" - '((mu4e-sent-folder . "/prologin/Sent") - (mu4e-drafts-folder . "/prologin/Drafts") - (mu4e-trash-folder . "/prologin/Trash") - (user-mail-address . "antoine.martin@prologin.org") - (user-full-name . "Antoine Martin") - (mu4e-compose-signature . "Antoine Martin")) - nil) #+end_src ** Sending mail @@ -725,7 +724,7 @@ Let's define a new function that does just that: (defun my/mu4e-update-main-mail-and-index (run-in-background) "Get mail for all folders, not just the main ones" (interactive "P") - (let ((mu4e-get-mail-command "mbsync alarsyo-main lrde prologin-main")) + (let ((mu4e-get-mail-command "mbsync alarsyo-main lrde")) (mu4e-update-mail-and-index run-in-background))) #+end_src @@ -775,9 +774,7 @@ Setup the headers view columns how I like them #+begin_src emacs-lisp :noweb-ref after-mu4e :tangle no (setq mu4e-mailing-list-patterns '("[0-9]+\\.\\(.+\\)\\.gitlab\\.lrde\\.epita\\.fr" "[0-9]+\\.\\(.+\\)\\.gitlab\\.com" - "\\(.+\\)\\.github\\.com") - mu4e-user-mailing-lists '(("info.prologin.org" . "Infos Prologin") - ("membres.ml.prologin.org" . "Membres Prologin"))) + "\\(.+\\)\\.github\\.com")) #+end_src ** Fix attachment icon with light theme