summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-09-25 13:43:10 +0200
committerAlejandro Colomar <alx@kernel.org>2023-09-25 13:43:13 +0200
commitb5931b6b768336f5495f6109f4e19fbaf3d85c17 (patch)
tree908056ecfcea9814dc2ece18277acc0e247b18f2
parent9ab8a4636fb57169917186450bef7dac35323814 (diff)
mutt: Use a local mailbox
isync (mbsync(1)) is creating an offline copy of the gmail mailbox, so I don't need [neo]mutt(1) to connect to the gmail IMAP server anymore. Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--home/.config/mutt/imap.neomuttrc4
-rw-r--r--home/.config/mutt/mailbox.neomuttrc4
-rw-r--r--home/.config/mutt/neomuttrc1
3 files changed, 3 insertions, 6 deletions
diff --git a/home/.config/mutt/imap.neomuttrc b/home/.config/mutt/imap.neomuttrc
deleted file mode 100644
index fcff7cd..0000000
--- a/home/.config/mutt/imap.neomuttrc
+++ /dev/null
@@ -1,4 +0,0 @@
-set folder = "imaps://imap.gmail.com/"
-set imap_user = "alx.manpages"
-
-set imap_check_subscribed
diff --git a/home/.config/mutt/mailbox.neomuttrc b/home/.config/mutt/mailbox.neomuttrc
index 4af6927..325e240 100644
--- a/home/.config/mutt/mailbox.neomuttrc
+++ b/home/.config/mutt/mailbox.neomuttrc
@@ -1,6 +1,8 @@
+set folder = "~/mail/gmail/alx/"
+
set spool_file = "+INBOX"
set postponed = "+[Gmail]/Drafts"
set record = "+[Gmail]/Sent Mail"
set trash = "+[Gmail]/Trash"
-#mailboxes "+[Gmail]/All Mail" $spool_file $postponed $record $trash "+[Gmail]/Spam"
+mailboxes "+[Gmail]/All Mail" $spool_file $postponed $record $trash "+[Gmail]/Spam" "+[Gmail]/Important" "+[Gmail]/Starred"
diff --git a/home/.config/mutt/neomuttrc b/home/.config/mutt/neomuttrc
index 28b82f1..0bef584 100644
--- a/home/.config/mutt/neomuttrc
+++ b/home/.config/mutt/neomuttrc
@@ -1,6 +1,5 @@
source pass.neomuttrc
source smtp.neomuttrc
-source imap.neomuttrc
source mailbox.neomuttrc
source gpg.neomuttrc
source sidebar.neomuttrc