commit e2decaf79c286f93801c43699e37e6bea5560083 parent 35ebcdc85a33b57138327bcb4a8f817fd734083e Author: Anders <anders@desk.andersuno.nu> Date: Fri, 11 Nov 2022 07:36:38 +0100 mail: Added andersuno.nu account Diffstat:
M | .doom.d/config.el | | | 25 | ++++++++++++++++++++++--- |
M | .mbsyncrc | | | 26 | ++++++++++++++++++++++++++ |
2 files changed, 48 insertions(+), 3 deletions(-)
diff --git a/.doom.d/config.el b/.doom.d/config.el @@ -114,16 +114,31 @@ (mu4e-compose-signature . "---\nAnders Hedman")) t) + (set-email-account! "andersuno.nu" + '((mu4e-sent-folder . "/andersuno.nu/Sent") + (mu4e-drafts-folder . "/andersuno.nu/Drafts") + (mu4e-trash-folder . "/andersuno.nu/Trash") + (mu4e-refile-folder . "/andersuno.nu/Archive") + (user-mail-address . "anders@andersuno.nu") + (smtpmail-smtp-user . "anders@andersuno.nu") + (mu4e-compose-signature . "---\nAnders Hedman")) + t) + (setq mu4e-maildir-shortcuts - '((:maildir "/Gmail/Inbox" :key ?i) + '((:maildir "/Gmail/INBOX" :key ?i) (:maildir "/Gmail/[Gmail]/Sent Mail" :key ?s) (:maildir "/Gmail/[Gmail]/Drafts" :key ?d) (:maildir "/Gmail/[Gmail]/Trash" :key ?t) - (:maildir "/Gmail/[Gmail]/All Mail" :key ?a))) + (:maildir "/Gmail/[Gmail]/All Mail" :key ?a) + (:maildir "/andersuno.nu/INBOX" :key ?I) + (:maildir "/andersuno.nu/Sent" :key ?S) + (:maildir "/andersuno.nu/Drafts" :key ?D) + (:maildir "/andersuno.nu/Trash" :key ?T) + (:maildir "/andersuno.nu/Archive" :key ?A))) (setq mu4e-bookmarks '((:name "Unread messages" - :query "flag:unread AND NOT flag:trashed AND maildir:/Gmail/INBOX" + :query "flag:unread AND NOT flag:trashed AND maildir:/Gmail/INBOX OR maildir:/andersuno.nu/INBOX AND flag:unread" :key ?u) (:name "Today's messages" :query "date:today..now AND maildir:/Gmail/INBOX" @@ -135,6 +150,10 @@ (:name "Messages with images" :query "mime:image/*" :key ?p))) + + (setq smtpmail-smtp-server "mail.andersuno.nu" + smtpmail-stream-type 'ssl + smtpmail-smtp-service 30465) ) (def-project-mode! +ansible-yaml-mode diff --git a/.mbsyncrc b/.mbsyncrc @@ -22,3 +22,29 @@ Create Near Sync All Expunge Both SyncState * + +IMAPAccount andersuno.nu +Host mail.andersuno.nu +Port 30993 +User anders@andersuno.nu +PassCmd "gpg2 -dq --for-your-eyes-only --no-tty ~/.mbsync-andersuno-nu.gpg" +SSLType IMAPS +SystemCertificates yes + +IMAPStore andersuno.nu-remote +Account andersuno.nu + +MaildirStore andersuno.nu-local +Path ~/Maildir/andersuno.nu/ +Inbox ~/Maildir/andersuno.nu/INBOX +SubFolders Verbatim + +Channel andersuno.nu +Far :andersuno.nu-remote: +Near :andersuno.nu-local: +Patterns * +#Patterns INBOX "[Gmail]/All Mail" "[Gmail]/Sent Mail" "[Gmail]/Drafts" "[Gmail]/Trash" !"[Gmail]/Starred" !"[Gmail]/Important" !"[Gmail]/Spam" +Create Near +Sync All +Expunge Both +SyncState *