From afc393f6445d67c335ae365d42557fa4b3f5625b Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sat, 27 Jul 2024 11:59:58 +0200 Subject: byteplant email tags --- bin/tagmail | 7 +++++-- config/git/attributes | 2 ++ 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 -- cgit v1.2.3