home/neomutt | support for snoozing email
This commit is contained in:
parent
ec9558652c
commit
ede4102e94
3 changed files with 103 additions and 6 deletions
85
home/common/files/mbsyncrc
Normal file
85
home/common/files/mbsyncrc
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
IMAPAccount gmail
|
||||
Host imap.gmail.com
|
||||
User duckunix@gmail.com
|
||||
Pass ezygrcpqakcfzogk
|
||||
TLSType IMAPS
|
||||
AuthMechs LOGIN
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
PipelineDepth 50
|
||||
|
||||
IMAPStore remote
|
||||
Account gmail
|
||||
|
||||
MaildirStore local
|
||||
Subfolders Verbatim
|
||||
Path ~/Mail/
|
||||
Inbox ~/Mail/Inbox
|
||||
Subfolders Verbatim
|
||||
|
||||
Channel gmail-all
|
||||
Far :remote:
|
||||
Near :local:
|
||||
Patterns development Followup job kisd SMS uh snooze snooze/*
|
||||
Create Both
|
||||
SyncState *
|
||||
Expunge Both
|
||||
|
||||
Channel Sent-Mail
|
||||
Far :remote:"[Gmail]/Sent Mail"
|
||||
Near :local:Sent-Mail
|
||||
Expunge Both
|
||||
|
||||
Channel Trash
|
||||
Far :remote:"[Gmail]/Trash"
|
||||
Near :local:Trash
|
||||
Expunge Both
|
||||
|
||||
Channel Drafts
|
||||
Far :remote:"[Gmail]/Drafts"
|
||||
Near :local:Drafts
|
||||
Expunge Both
|
||||
|
||||
Channel All-Mail
|
||||
Far :remote:"[Gmail]/All Mail"
|
||||
Near :local:All-Mail
|
||||
Expunge Both
|
||||
|
||||
|
||||
Channel INBOX
|
||||
Far :remote:INBOX
|
||||
Near :local:INBOX
|
||||
Expunge Both
|
||||
|
||||
Channel mailing-lists
|
||||
Far :remote:"mailing lists"
|
||||
Near :local:mailing-lists
|
||||
Expunge Both
|
||||
|
||||
Channel development
|
||||
Far :remote:development
|
||||
Near :local:development
|
||||
Expunge Both
|
||||
|
||||
Channel news
|
||||
Far :remote:news
|
||||
Near :local:news
|
||||
Expunge Both
|
||||
|
||||
Channel SPAM
|
||||
Far :remote:"[Gmail]/Spam"
|
||||
Near :local:SPAM
|
||||
Expunge Both
|
||||
|
||||
Group gmail
|
||||
Channel gmail-all
|
||||
Channel Sent-Mail
|
||||
Channel Trash
|
||||
Channel Drafts
|
||||
Channel All-Mail
|
||||
Channel SPAM
|
||||
|
||||
Group gmail-fast
|
||||
Channel INBOX
|
||||
Channel news
|
||||
Channel mailing-lists
|
||||
Channel development
|
||||
|
|
@ -42,6 +42,13 @@ macro index,pager S "<save-message>=SPAM<enter>" "Spam it!"
|
|||
macro index,pager W <pipe-message>mail2onenote<enter>
|
||||
macro index,pager w <pipe-message>emailtask<enter>
|
||||
macro index,pager y "<save-message><enter>" "Archive"
|
||||
macro index,pager <f1> "<save-message>=snooze/1<enter>"
|
||||
macro index,pager <f2> "<save-message>=snooze/2<enter>"
|
||||
macro index,pager <f3> "<save-message>=snooze/3<enter>"
|
||||
macro index,pager <f4> "<save-message>=snooze/4<enter>"
|
||||
macro index,pager <f5> "<save-message>=snooze/5<enter>"
|
||||
macro index,pager <f6> "<save-message>=snooze/6<enter>"
|
||||
macro index,pager <f7> "<save-message>=snooze/7<enter>"
|
||||
macro pager B '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
|
||||
macro pager l "ql" "Goto index and limit"
|
||||
macro pager o ":set pipe_decode\n|urlscan --run-safe myweb --pipe -c -d\n:unset pipe_decode\n" "call urlscan to extract URLs out of a message"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
accounts.email.accounts = {
|
||||
"don@donharper.org" = {
|
||||
primary = true;
|
||||
|
|
@ -13,7 +17,7 @@
|
|||
programs.notmuch = {
|
||||
enable = true;
|
||||
new = {
|
||||
tags = [ "new" "unread" "inbox" ];
|
||||
tags = ["new" "unread" "inbox"];
|
||||
ignore = [
|
||||
".mbsyncstate"
|
||||
".uidvalidity"
|
||||
|
|
@ -35,6 +39,7 @@
|
|||
xdg.configFile."neomutt/neomuttrc".source = ./files/neomutt/neomuttrc;
|
||||
xdg.configFile."neomutt/mailcap".source = ./files/neomutt/mailcap;
|
||||
|
||||
home.file.".mbsyncrc".source = ./files/mbsyncrc;
|
||||
home.file.".signature".text = ''
|
||||
Don Harper
|
||||
'';
|
||||
|
|
@ -45,7 +50,7 @@
|
|||
OnUnitActiveSec = "5m";
|
||||
AccuracySec = "1m";
|
||||
};
|
||||
Install = { WantedBy = [ "timers.target" ]; };
|
||||
Install = {WantedBy = ["timers.target"];};
|
||||
};
|
||||
|
||||
services.mbsync = {
|
||||
|
|
@ -54,7 +59,7 @@
|
|||
Environment = "PATH=/run/current-system/sw/bin";
|
||||
Type = "oneshot";
|
||||
};
|
||||
Install = { WantedBy = [ "mbsync.timer" ]; };
|
||||
Install = {WantedBy = ["mbsync.timer"];};
|
||||
};
|
||||
|
||||
services."mbsync-all" = {
|
||||
|
|
@ -63,7 +68,7 @@
|
|||
Environment = "PATH=/run/current-system/sw/bin";
|
||||
Type = "oneshot";
|
||||
};
|
||||
Install = { WantedBy = [ "mbsync-all.timer" ]; };
|
||||
Install = {WantedBy = ["mbsync-all.timer"];};
|
||||
};
|
||||
|
||||
timers."mbsync-all" = {
|
||||
|
|
@ -71,7 +76,7 @@
|
|||
AccuracySec = "1m";
|
||||
OnUnitActiveSec = "14m";
|
||||
};
|
||||
Install = { WantedBy = [ "timers.target" ]; };
|
||||
Install = {WantedBy = ["timers.target"];};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue