swap inbox and archived tags - again
This commit is contained in:
parent
51df7d24e3
commit
5952693319
7 changed files with 32 additions and 20 deletions
|
@ -1,10 +1,10 @@
|
|||
[SpamFilter]
|
||||
[KnownSpammers]
|
||||
|
||||
[FolderNameFilter]
|
||||
folder_blacklist = Inbox Sent Drafts Trash
|
||||
maildir_separator = /
|
||||
|
||||
[SpamFilter]
|
||||
[KnownSpammers]
|
||||
|
||||
[TagOrContact.1]
|
||||
query = tag:posteo
|
||||
|
||||
|
@ -23,4 +23,9 @@ message = The Unipept alias
|
|||
query = to:unipept@ugent.be
|
||||
tags = +unipept
|
||||
|
||||
[Filter.4]
|
||||
query = tag:dodona and subject:'Onderwijsinstelling aangemaakt voor .*'
|
||||
tags = -new
|
||||
|
||||
[ListMailsFilter]
|
||||
[InboxFilter]
|
||||
|
|
|
@ -2,6 +2,13 @@ from afew.filters.BaseFilter import Filter
|
|||
from afew.FilterRegistry import register_filter
|
||||
|
||||
spammers = """
|
||||
golbalpublication.online
|
||||
all.bg
|
||||
vodokanal.poltava.ua
|
||||
qingteng.xyz
|
||||
guaranten.com
|
||||
remedyonlineoa.info
|
||||
pharm2019-sa.com
|
||||
nsitysim.com
|
||||
onlinepublishers.co
|
||||
ijeert.com
|
||||
|
@ -159,3 +166,4 @@ class KnownSpammers(Filter):
|
|||
|
||||
def handle_message(self, message):
|
||||
self.add_tags(message, 'spam')
|
||||
self.remove_tags(message, 'new')
|
||||
|
|
1
config/alot/.gitignore
vendored
Normal file
1
config/alot/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
themes/
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
initial_command = search query:inbox
|
||||
initial_command = search tag:inbox
|
||||
periodic_hook_frequency = 60
|
||||
edit_headers_blacklist = Content-Type, MIME-Version
|
||||
attachment_prefix = /data/temporary
|
||||
|
@ -22,7 +22,7 @@ theme = "mutt"
|
|||
sendmail_command = /usr/bin/msmtp --account=posteo -t
|
||||
sent_box = maildir:///data/mail/posteo/Sent
|
||||
draft_box = maildir:///data/mail/posteo/Drafts
|
||||
sent_tags = posteo
|
||||
sent_tags = posteo,inbox
|
||||
passed_tags = # none
|
||||
sign_by_default = False
|
||||
|
||||
|
@ -40,7 +40,7 @@ theme = "mutt"
|
|||
sendmail_command = /usr/bin/msmtp --account=gmail -t
|
||||
sent_box = maildir:///data/mail/gmail/Sent
|
||||
draft_box = maildir:///data/mail/gmail/Sent
|
||||
sent_tags = gmail
|
||||
sent_tags = gmail,inbox
|
||||
passed_tags = # none
|
||||
sign_by_default = True
|
||||
|
||||
|
@ -58,7 +58,7 @@ theme = "mutt"
|
|||
sendmail_command = /usr/bin/msmtp --account=ugent -t
|
||||
sent_box = maildir:///data/mail/ugent/Sent
|
||||
draft_box = maildir:///data/mail/ugent/Sent
|
||||
sent_tags = ugent
|
||||
sent_tags = ugent,inbox
|
||||
passed_tags = # none
|
||||
sign_by_default = True
|
||||
|
||||
|
@ -74,7 +74,7 @@ theme = "mutt"
|
|||
sendmail_command = /usr/bin/true
|
||||
sent_box = maildir:///data/mail/todo
|
||||
draft_box = maildir:///data/mail/todo
|
||||
sent_tags = todo
|
||||
sent_tags = todo,inbox
|
||||
passed_tags = # none
|
||||
|
||||
|
||||
|
@ -84,25 +84,25 @@ theme = "mutt"
|
|||
n = compose --sender todo@localhost --to todo
|
||||
|
||||
[[search]]
|
||||
x = tag spam
|
||||
a = tag archived
|
||||
A = untag archived
|
||||
x = toggletags spam,inbox
|
||||
a = untag inbox
|
||||
A = tag inbox
|
||||
|
||||
[[thread]]
|
||||
a = tag archived ; fold
|
||||
A = untag archived ; unfold
|
||||
a = untag inbox ; fold
|
||||
A = tag inbox ; unfold
|
||||
n = nextpart
|
||||
p = prevpart
|
||||
u = pipeto --background selecturl
|
||||
|
||||
[tags]
|
||||
|
||||
[[inbox]]
|
||||
translated =
|
||||
|
||||
[[encrypted]]
|
||||
translated =
|
||||
|
||||
[[archived]]
|
||||
translated =
|
||||
|
||||
[[replied]]
|
||||
translated =
|
||||
|
||||
|
|
0
config/alot/hooks.py
Normal file
0
config/alot/hooks.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue