Adding mail stuffs. Fixing check_mail script. Shortcuts in alot. Folder<->tag rules for afew

master
Dustin Swan 11 years ago
parent 11b9cd2d08
commit 8a8771581a

@ -19,60 +19,68 @@ message = IOCOM
query = folder:iocom query = folder:iocom
tags = +iocom tags = +iocom
[Filter.3] [Filter.4] # Need this filter before the All Mail one.. I think
message = Gmail Inbox
query = folder:gmail/INBOX
tags = -new;+inbox
[Filter.6]
message = Archived message = Archived
query = folder:iocom/INBOX.Archive OR 'folder:"gmail/[Gmail].All Mail"' query = folder:iocom/INBOX.Archive OR 'folder:"gmail/[Gmail].All Mail"'
tags = -new;-inbox tags = -new
[Filter.4] [Filter.8]
message = Drafts message = Drafts
query = folder:iocom/INBOX.Drafts OR 'folder:"gmail/[Gmail].Drafts"' query = folder:iocom/INBOX.Drafts OR 'folder:"gmail/[Gmail].Drafts"'
tags = -new;+drafts tags = -new;+drafts
[Filter.5] [Filter.10]
message = Sent message = Sent
query = folder:iocom/INBOX.Sent OR 'folder:"gmail/[Gmail].Sent Mail"' query = folder:iocom/INBOX.Sent OR 'folder:"gmail/[Gmail].Sent Mail"'
tags = -new;+sent tags = -new;+sent
[Filter.6] [Filter.12]
message = Spam message = Spam
query = folder:iocom/INBOX.spam OR 'folder:"gmail/[Gmail].Spam"' query = folder:iocom/INBOX.spam OR 'folder:"gmail/[Gmail].Spam"'
tags = -new;+spam tags = -new;+spam
[Filter.7] [Filter.14]
message = Trash message = Trash
query = folder:iocom/INBOX.Trash OR 'folder:"gmail/[Gmail].Trash"' query = folder:iocom/INBOX.Trash OR 'folder:"gmail/[Gmail].Trash"'
tags = -new;+trash tags = -new;+trash
# IOCOM folders # IOCOM folders
[Filter.8] [Filter.16]
message = Builder message = Builder
query = folder:iocom/INBOX.builder query = folder:iocom/INBOX.builder
tags = +builder;-spam;-new tags = +builder;-spam;-new
[Filter.9] [Filter.18]
message = Netmon message = Netmon
query = folder:iocom/INBOX.netmon query = folder:iocom/INBOX.netmon
tags = +netmon;-spam;-new tags = +netmon;-spam;-new
# IOCOM tags # IOCOM tags
[Filter.10] [Filter.20]
message = Bugzilla message = Bugzilla
query = from:bugzilla-daemon@bugzilla.insors.net query = from:bugzilla-daemon@bugzilla.insors.net
tags = +bugzilla tags = +bugzilla
# Gmail folders (what Gmail calls tags) TODO # Gmail folders (what Gmail calls tags) TODO
[InboxFilter] [InboxFilter]
[MailMover] [MailMover]
folders = iocom/INBOX/ iocom/INBOX.Archive/ folders = iocom/INBOX/ iocom/INBOX.Archive/ gmail/INBOX/
max_age = 15 max_age = 15
iocom/INBOX/ = 'NOT tag:inbox':iocom/INBOX.Archive/ iocom/INBOX/ = 'NOT tag:inbox':iocom/INBOX.Archive/
iocom/INBOX.Archive/ = 'tag:inbox':iocom/INBOX/ iocom/INBOX.Archive/ = 'tag:inbox':iocom/INBOX/
gmail/INBOX/ = 'NOT tag:inbox':"gmail/[Gmail].All Mail"
gmail/[Gmail].Important/ = 'NOT tag:inbox':"gmail/[Gmail].All Mail"
# TODO All folders <-> tags # TODO All folders <-> tags
#

@ -22,3 +22,4 @@ tabwidth = 4
[[search]] [[search]]
'I I' = search tag:iocom AND tag:inbox 'I I' = search tag:iocom AND tag:inbox
'G G' = search tag:gmail AND tag:inbox 'G G' = search tag:gmail AND tag:inbox
r = refresh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
while true; do while true; do
few -m; mbsync -a; notmuch new afew -m; mbsync -a; notmuch new
sleep 45 sleep 45
done done

@ -1,4 +1,3 @@
#text/html; luakit %s &; test=test -n "%DISPLAY"; needsterminal; #text/html; luakit %s &; test=test -n "%DISPLAY"; needsterminal;
#text/html; firefox %s &; test=test -n "%DISPLAY"; needsterminal; #text/html; firefox %s &; test=test -n "%DISPLAY"; needsterminal;
text/html; firefox %s;
text/html; w3m -I %{charset} -T text/html; copiousoutput; text/html; w3m -I %{charset} -T text/html; copiousoutput;

Loading…
Cancel
Save