aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2024-07-27 11:59:58 +0200
committerOscar Najera <hi@oscarnajera.com>2024-07-27 11:59:58 +0200
commitafc393f6445d67c335ae365d42557fa4b3f5625b (patch)
tree442b7902b590c3f77633ef9a0fb7a1af5ca0182f
parent3dabf54a58f51935f6de7a1b9a27ff3d33afb54e (diff)
downloaddotfiles-afc393f6445d67c335ae365d42557fa4b3f5625b.tar.gz
dotfiles-afc393f6445d67c335ae365d42557fa4b3f5625b.tar.bz2
dotfiles-afc393f6445d67c335ae365d42557fa4b3f5625b.zip
byteplant email tags
-rwxr-xr-xbin/tagmail7
-rw-r--r--config/git/attributes2
2 files changed, 7 insertions, 2 deletions
diff --git a/bin/tagmail b/bin/tagmail
index 2ea69aa..ebc18fa 100755
--- a/bin/tagmail
+++ b/bin/tagmail
@@ -189,7 +189,10 @@ LD_LIBRARY_PATH=$HOME/.guix-profile/lib exec guile -e main -s "$0" "$@"
;; byteplant
("+support" "to:support@byteplant.com")
("+admin" "to:admin@byteplant.com")
- ("+sent" "from:byteplant.com"))))
+ ("+AV" "folder:/addressvalidator/")
+ ("+EV" "folder:/addressvalidator/")
+ ("+PV" "folder:/phonevalidator/")
+ ("+sent" "folder:/Sent/"))))
(define (main args)
(let* ((mail-repo (string-append
@@ -225,7 +228,7 @@ LD_LIBRARY_PATH=$HOME/.guix-profile/lib exec guile -e main -s "$0" "$@"
(map tagger tag-rules)
(list-tag options ffi-db new)
(display "[Inbox]\n")
- (tagger '("+inbox" "*" "Inbox for the rest"))
+ (tagger '("+inbox" "to:oscar@byteplant.com" "Inbox for the rest"))
(tag-spam options ffi-db "tag:inbox")))))
diff --git a/config/git/attributes b/config/git/attributes
index 1f901af..81fde0f 100644
--- a/config/git/attributes
+++ b/config/git/attributes
@@ -3,6 +3,8 @@
*.lisp diff=lisp
*.el diff=lisp
*.scm diff=lisp
+tagmail diff=lisp
+habit diff=lisp
*.pdf diff=pdf
*.svg binary
*.png binary