AutoYADM commit: 2025-03-17 13:29:38
This commit is contained in:
parent
3119bacd5e
commit
da408e072f
8 changed files with 232 additions and 1 deletions
3
.config/afew/.helix/languages.toml
Normal file
3
.config/afew/.helix/languages.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
[[language]]
|
||||
name = "ini"
|
||||
file-types = [{glob="config"}, "ini", "conf"]
|
46
.config/afew/config
Normal file
46
.config/afew/config
Normal file
|
@ -0,0 +1,46 @@
|
|||
[MeFilter]
|
||||
me_tag=to-me
|
||||
[SpamFilter]
|
||||
spam_tag = spam
|
||||
[KillThreadsFilter]
|
||||
[ListMailsFilter]
|
||||
[Filter.1]
|
||||
query = path:personal/**
|
||||
tags = +personal
|
||||
message = personal
|
||||
[Filter.2]
|
||||
query = path:school/**
|
||||
tags = +school
|
||||
message = school
|
||||
[Filter.3]
|
||||
query = path:personal/sent/**
|
||||
tags = +sent
|
||||
# tags = +sent;-new
|
||||
message = personal sent
|
||||
[Filter.4]
|
||||
query = path:school/sent/**
|
||||
tags = +sent
|
||||
# tags = +sent;-new
|
||||
message = school sent
|
||||
[Filter.6]
|
||||
query = from:/@github|@gitlab|@codeberg/ and tag:lists
|
||||
tags = +git
|
||||
message = git
|
||||
[Filter.7]
|
||||
query = /gabor.*@|zsuzsa.*@|csergo.*@/
|
||||
tags = +family
|
||||
message = family
|
||||
[Filter.5]
|
||||
query = to:@sr.ht and tag:lists
|
||||
tags = +srht
|
||||
message = sourcehut
|
||||
# [ArchiveSentMailsFilter]
|
||||
# sent_tag = sent
|
||||
# apply unread tag
|
||||
[Filter.99]
|
||||
query = 'NOT tag:sent AND tag:new'
|
||||
tags = +unread
|
||||
message = unread
|
||||
[InboxFilter]
|
||||
tags = +inbox
|
||||
|
122
.config/afew/example.ini
Normal file
122
.config/afew/example.ini
Normal file
|
@ -0,0 +1,122 @@
|
|||
# Customizing filters
|
||||
# You can override the filter
|
||||
# or make a new one
|
||||
# this filter is in addition to default
|
||||
[SpamFilter.0]
|
||||
message = meh
|
||||
# This one replaces the default
|
||||
[SpamFilter]
|
||||
message = woah
|
||||
|
||||
# Cerate a new type
|
||||
[ShitFilter(SpamFilter)]
|
||||
message = horrible!
|
||||
[ShitFilter.0]
|
||||
message = whaaa
|
||||
|
||||
# This is the default filter chain
|
||||
[SpamFilter]
|
||||
# Add <tag> to mails that are spam.
|
||||
# default is spam
|
||||
# May use to tag spam as junk or scum or whatever
|
||||
# Only single tag supported
|
||||
# Emails are spam if X-Spag-Flag is present.
|
||||
spam_tag = <tag>
|
||||
[KillThreadsFilter]
|
||||
# If new msg added to a threat
|
||||
# already tagged killed, then add killed
|
||||
# tag to this message too. Allows for
|
||||
# ignoring all replies to a thread.
|
||||
[ListMailsFilter]
|
||||
# Looks for the List-Id header.
|
||||
# If found, adds a tag lists and a tag
|
||||
# lists/list-id
|
||||
[ArchiveSentMailsFilter]
|
||||
# Extends SentMailsFilter
|
||||
# But also removes the new tag, therefore
|
||||
# they won't get inbox tag
|
||||
[InboxFilter]
|
||||
# Removes new tag, adds inbox tag
|
||||
# to any msg that isn't killed or spam.
|
||||
|
||||
|
||||
[MeFilter]
|
||||
# Add filter tagging mail send directly to
|
||||
# any addresses defined in the notmuch config file
|
||||
me_tag=to-me
|
||||
|
||||
[SentMailsFilter]
|
||||
# default is empty!
|
||||
# add tag to all mail sent from my addresses
|
||||
sent_tag = sent
|
||||
# Transform to/cc/bcc addresses to tags according
|
||||
# to rules.
|
||||
# Space separated list of 'user_part@domain_part:tags' pairs.
|
||||
# Colon separates address from tags they should have.
|
||||
# :tags is optional; if empty, user_part used as tag.
|
||||
# Can be single or semicolon separated list.
|
||||
# Basically helpful to tag mail that's sent from me,
|
||||
# to someone specific.
|
||||
# Can be used to easily tag posts sent to mailing lists
|
||||
# which don't have the List-Id field yet.
|
||||
to_transforms = <rules>
|
||||
|
||||
# Others
|
||||
[FolderNameFilter]
|
||||
# Looks at all folders it's in,
|
||||
# uses the path and filename as a tag.
|
||||
|
||||
|
||||
|
||||
|
||||
# notmuch commands:
|
||||
|
||||
# # immediately archive all messages from "me"
|
||||
# notmuch tag -new -- tag:new and from:me@example.com
|
||||
|
||||
# # delete all messages from a spammer:
|
||||
# notmuch tag +deleted -- tag:new and from:spam@spam.com
|
||||
|
||||
# # tag all message from notmuch mailing list
|
||||
# notmuch tag +notmuch -- tag:new and to:notmuch@notmuchmail.org
|
||||
|
||||
# # finally, retag all "new" messages "inbox" and "unread"
|
||||
# notmuch tag +inbox +unread -new -- tag:new
|
||||
|
||||
# equivalent to:
|
||||
[ArchiveSentMailsFilter]
|
||||
|
||||
[Filter.1]
|
||||
message = Delete all messages from spammer
|
||||
query = from:spam@spam.com
|
||||
tags = +deleted;-new
|
||||
|
||||
[Filter.2]
|
||||
message = Tag all messages from the notmuch mailing list
|
||||
query = to:notmuch@notmuchmail.org
|
||||
tags = +notmuch
|
||||
|
||||
[InboxFilter]
|
||||
|
||||
# More example filters:
|
||||
|
||||
[Filter.1]
|
||||
query = 'sicsa-students@sicsa.ac.uk'
|
||||
tags = +sicsa
|
||||
message = sicsa
|
||||
|
||||
[Filter.2]
|
||||
query = 'from:foosoc.ed@gmail.com OR from:GT Silber OR from:lizzie.brough@eusa.ed.ac.uk'
|
||||
tags = +soc;+foo
|
||||
message = foosoc
|
||||
|
||||
[Filter.3]
|
||||
query = 'folder:gmail/G+'
|
||||
tags = +G+
|
||||
message = gmail spam
|
||||
|
||||
# skip inbox
|
||||
[Filter.6]
|
||||
query = 'to:notmuch@notmuchmail.org AND (subject:emacs OR subject:elisp OR "(defun" OR "(setq" OR PATCH)'
|
||||
tags = -new
|
||||
message = notmuch emacs stuff
|
5
.config/autostart/Proton Mail Bridge.desktop
Normal file
5
.config/autostart/Proton Mail Bridge.desktop
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Proton Mail Bridge
|
||||
Exec="/usr/bin/protonmail-bridge" "--no-window"
|
||||
X-GNOME-Autostart-enabled=true
|
5
.config/goimapnotify/.helix/languages.toml
Normal file
5
.config/goimapnotify/.helix/languages.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
[[language]]
|
||||
name = "json"
|
||||
file-types = [
|
||||
"conf"
|
||||
]
|
41
.config/goimapnotify/goimapnotify.yaml
Normal file
41
.config/goimapnotify/goimapnotify.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
configurations:
|
||||
-
|
||||
host: 127.0.0.1
|
||||
port: 1143
|
||||
tls: false
|
||||
tlsOptions:
|
||||
rejectUnauthorized: false
|
||||
starttls: true
|
||||
username: daniel@ficd.ca
|
||||
passwordCMD: 'pass show proton/bridge'
|
||||
xoAuth2: false
|
||||
onNewMail: '/home/fic/.config/mail/mail-sync.sh'
|
||||
onDeletedMail: '/home/fic/.config/mail/mail-sync.sh'
|
||||
wait: 20
|
||||
boxes:
|
||||
-
|
||||
mailbox: INBOX
|
||||
onNewMail: '/home/fic/.config/mail/newmail.sh personal'
|
||||
|
||||
-
|
||||
mailbox: Sent
|
||||
onNewMail: '/home/fic/.config/mail/mail-sync.sh'
|
||||
-
|
||||
host: outlook.office365.com
|
||||
port: 993
|
||||
tls: true
|
||||
tlsOptions:
|
||||
rejectUnauthorized: true
|
||||
starttls: false
|
||||
username: 18daf3@queensu.ca
|
||||
passwordCMD: '~/tools/mutt_oauth2.py ~/tools/tokenfile-test'
|
||||
xoAuth2: true
|
||||
onNewMail: '/home/fic/.config/mail/mail-sync.sh'
|
||||
onDeletedMail: '/home/fic/.config/mail/mail-sync.sh'
|
||||
wait: 20
|
||||
boxes:
|
||||
- mailbox: INBOX
|
||||
onNewMail: '/home/fic/.config/mail/newmail.sh school'
|
||||
-
|
||||
mailbox: Sent Items
|
||||
onNewMail: '/home/fic/.config/mail/mail-sync.sh'
|
9
.config/maildir-rank-addr/config
Normal file
9
.config/maildir-rank-addr/config
Normal file
|
@ -0,0 +1,9 @@
|
|||
maildir = "~/.mail"
|
||||
addresses = [
|
||||
"daniel@ficd.ca",
|
||||
"fichtinger.d@queensu.ca",
|
||||
"18daf3@queensu.ca",
|
||||
"ficcdaf@proton.me"
|
||||
]
|
||||
outputpath = "~/mail/ranked-addrbook.tsv"
|
||||
template = "{{.Address}}\t{{.Name}}\t{{.NormalizedName}}"
|
|
@ -49,7 +49,7 @@
|
|||
.mbsyncrc
|
||||
.notmuch-config
|
||||
.notmuch
|
||||
.config/imapnotify
|
||||
.config/goimapnotify
|
||||
.config/afew
|
||||
.config/maildir-rank-addr
|
||||
.config/mail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue