Monitor all mailboxes with goimapnotify

This commit is contained in:
coolneng 2022-09-17 12:14:14 +02:00
parent 88aa7ddc6d
commit 252568eb6b
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
4 changed files with 40 additions and 7 deletions

View File

@ -8,8 +8,17 @@
"username": "akasroua@disroot.org", "username": "akasroua@disroot.org",
"passwordCmd": "pass mail/disroot", "passwordCmd": "pass mail/disroot",
"onNewMail": "mbsync disroot", "onNewMail": "mbsync disroot",
"onNewMailPost": "notmuch new", "onNewMailPost": "mu index --lazy-check",
"boxes": [ "boxes": [
"INBOX" "INBOX",
"Sent",
"Trash",
"Archive",
"Junk",
"Bookings",
"Buying",
"Services",
"SMART",
"Travel"
] ]
} }

View File

@ -8,8 +8,12 @@
"username": "akasroua@gmail.com", "username": "akasroua@gmail.com",
"passwordCmd": "pass mail/gmail", "passwordCmd": "pass mail/gmail",
"onNewMail": "mbsync gmail", "onNewMail": "mbsync gmail",
"onNewMailPost": "notmuch new", "onNewMailPost": "mu index --lazy-check",
"boxes": [ "boxes": [
"INBOX" "INBOX",
"[Gmail]/Sent Mail",
"[Gmail]/Bin",
"[Gmail]/Spam",
"[Gmail]/All Mail"
] ]
} }

View File

@ -9,8 +9,12 @@
"passwordCmd": "/home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile", "passwordCmd": "/home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile",
"xoauth2": true, "xoauth2": true,
"onNewMail": "mbsync ugent", "onNewMail": "mbsync ugent",
"onNewMailPost": "notmuch new", "onNewMailPost": "mu index --lazy-check",
"boxes": [ "boxes": [
"INBOX" "INBOX",
"Sent Items",
"Deleted Items",
"Archive",
"Junk Email"
] ]
} }

View File

@ -14,7 +14,7 @@ MaildirStore gmail-local
Subfolders Verbatim Subfolders Verbatim
# The trailing "/" is important # The trailing "/" is important
Path ~/.mail/gmail/ Path ~/.mail/gmail/
Inbox ~/.mail/gmail/Inbox/ Inbox ~/.mail/gmail/inbox/
Channel sync-gmail-default Channel sync-gmail-default
Far :gmail-remote: Far :gmail-remote:
@ -47,12 +47,19 @@ Create Both
Expunge Both Expunge Both
SyncState * SyncState *
Channel sync-gmail-archive
Far :gmail-remote:"[Gmail]/All Mail"
Near :gmail-local:archive
Create Both
Expunge Both
SyncState *
Group gmail Group gmail
Channel sync-gmail-default Channel sync-gmail-default
Channel sync-gmail-sent Channel sync-gmail-sent
Channel sync-gmail-trash Channel sync-gmail-trash
Channel sync-gmail-junk Channel sync-gmail-junk
Channel sync-gmail-archive
IMAPAccount ugent IMAPAccount ugent
Host outlook.office365.com Host outlook.office365.com
@ -164,6 +171,13 @@ Create Both
Expunge Both Expunge Both
SyncState * SyncState *
Channel sync-disroot-archive
Far :disroot-remote:"Archive"
Near :disroot-local:archive
Create Both
Expunge Both
SyncState *
Channel sync-disroot-bookings Channel sync-disroot-bookings
Far :disroot-remote:"Bookings" Far :disroot-remote:"Bookings"
Near :disroot-local:bookings Near :disroot-local:bookings
@ -204,9 +218,11 @@ Group disroot
Channel sync-disroot-default Channel sync-disroot-default
Channel sync-disroot-sent Channel sync-disroot-sent
Channel sync-disroot-trash Channel sync-disroot-trash
Channel sync-disroot-archive
Channel sync-disroot-junk Channel sync-disroot-junk
Channel sync-disroot-bookings Channel sync-disroot-bookings
Channel sync-disroot-buying Channel sync-disroot-buying
Channel sync-disroot-services Channel sync-disroot-services
Channel sync-disroot-smart Channel sync-disroot-smart
Channel sync-disroot-travel Channel sync-disroot-travel
Channel sync-disroot-archive