From b1af6ad2aa8a3900a66998fc64929eb15603d461 Mon Sep 17 00:00:00 2001 From: Ashish Panigrahi Date: Thu, 12 Oct 2023 17:35:54 +0200 Subject: fixed domain for niser.ac.in --- share/domains.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/domains.csv b/share/domains.csv index 835d96c..cf0726e 100644 --- a/share/domains.csv +++ b/share/domains.csv @@ -200,7 +200,7 @@ national.shitposting.agency,mail.cock.li,993,mail.cock.li,587 ncsu.edu,imap.gmail.com,993,smtp.gmail.com,587 netcourrier.com,mail.netcourrier.com,993,mail.netcourrier.com,465 nigge.rs,mail.cock.li,993,mail.cock.li,587 -niser.ac.in,imap.gmail.com,993,smtp.gmail.com,587 +niser.ac.in,imap.gmail.com,993,smtp.gmail.com,465 nixnet.email,imap.nixnet.email,143,smtp.nixnet.email,587 nixnet.xyz,imap.nixnet.email,143,smtp.nixnet.email,587 nixnetmail.com,imap.nixnet.email,143,smtp.nixnet.email,587 -- cgit v1.2.3 From 97f58830175b1fa9180dfc318c99d225ce672dd1 Mon Sep 17 00:00:00 2001 From: Ashish Panigrahi Date: Thu, 12 Oct 2023 17:38:34 +0200 Subject: added `fz-juelich.de` into domain list --- share/domains.csv | 1 + 1 file changed, 1 insertion(+) (limited to 'share') diff --git a/share/domains.csv b/share/domains.csv index cf0726e..beb7a1e 100644 --- a/share/domains.csv +++ b/share/domains.csv @@ -117,6 +117,7 @@ freedom.nl,imap.freedom.nl,993,smtp.freedom.nl,465 freedom.xyz,imap.nixnet.email,143,smtp.nixnet.email,587 fsmpi.rwth-aachen.de,mail.fsmpi.rwth-aachen.de,993,mail.fsmpi.rwth-aachen.de,465 fsu-jena,exchange.uni-jena.de,993,smtp.uni-jena.de,587 +fz-juelich.de,imap.fz-juelich.de,993,mail.fz-juelich.de,587 gcc.edu,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 getbackinthe.kitchen,mail.cock.li,993,mail.cock.li,587 ghalv.no,mail.ghalv.no,993,mail.ghalv.no,465 -- cgit v1.2.3 From 0cb17135b9ed52c89f20e671b03decd94ab7b2fe Mon Sep 17 00:00:00 2001 From: burbschat Date: Fri, 24 Nov 2023 21:39:31 +0100 Subject: Fix escaping in message IDs from notmuch `+` was properly escaped but only once. `$` was not escaped at all. This would result in messages with message IDs containing more than one `+` or at least on `$` to not be shown after limiting. `$` itself has to be escaped presumably for the shell. This results in three prepended backslashes in the limit string and six in the config file, as there backslashes themselves have to be escaped. --- share/mutt-wizard.muttrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index 95a9ae9..27ae216 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -101,7 +101,7 @@ macro index \eh "$prefix/libexec/gpg-wks-client --receive | msmtp macro index,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook --add-emailset pipe_decode=\$my_pipe_decode; unset my_pipe_decode" "add the sender address to abook" macro index \Cr "T~UN." "mark all messages as read" macro index O "mailsync" "run mailsync to sync all mail" -macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"" "show only messages matching a notmuch pattern" +macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/g for@a; s/\\$/\\\\\\$/g for@a;print@a' \`\"" "show only messages matching a notmuch pattern" macro index A "all\n" "show all messages (undo limit)" # Sidebar mappings -- cgit v1.2.3 From 32b5e833159ce2041e2f5c62dd36df7a3e370282 Mon Sep 17 00:00:00 2001 From: Jonas Dujava Date: Sun, 3 Dec 2023 13:39:12 +0100 Subject: fix: rename variables According to: https://neomutt.org/guide/reference.html#3-380-%C2%A0realname https://neomutt.org/guide/reference.html#3-480-%C2%A0spoolfile --- share/mutt-temp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/mutt-temp b/share/mutt-temp index 81148a1..63841ad 100644 --- a/share/mutt-temp +++ b/share/mutt-temp @@ -1,6 +1,6 @@ # vim: filetype=neomuttrc # muttrc file for account $fulladdr -set realname = "$realname" +set real_name = "$realname" set from = "$fulladdr" set sendmail = "msmtp -a $fulladdr" alias me $realname <$fulladdr> @@ -10,7 +10,7 @@ set message_cachedir = "$cachedir/$safename/bodies" set mbox_type = Maildir set hostname = "$hostname" source $muttshare/switch.muttrc -set spoolfile = "+INBOX" +set spool_file = "+INBOX" set postponed = "+Drafts" set trash = "+Trash" set record = "+Sent" -- cgit v1.2.3 From 86a1f1d66fb463a8745c3957d8a47037ac9e6ff6 Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Wed, 14 Aug 2024 18:54:04 +0300 Subject: muttrc: use XDG_CACHE_HOME in notmuch integration Fixes `sh: 1: cannot create /home//.cache/mutt_terms: Directory nonexistent`. --- share/mutt-wizard.muttrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index 27ae216..f236bc4 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -101,7 +101,7 @@ macro index \eh "$prefix/libexec/gpg-wks-client --receive | msmtp macro index,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook --add-emailset pipe_decode=\$my_pipe_decode; unset my_pipe_decode" "add the sender address to abook" macro index \Cr "T~UN." "mark all messages as read" macro index O "mailsync" "run mailsync to sync all mail" -macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/g for@a; s/\\$/\\\\\\$/g for@a;print@a' \`\"" "show only messages matching a notmuch pattern" +macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read x; echo \$x >\"\${XDG_CACHE_HOME:-\$HOME/.cache}/mutt_terms\"~i \"\`notmuch search --output=messages \$(cat \"\${XDG_CACHE_HOME:-\$HOME/.cache}/mutt_terms\") | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/g for@a; s/\\$/\\\\\\$/g for@a;print@a' \`\"" "show only messages matching a notmuch pattern" macro index A "all\n" "show all messages (undo limit)" # Sidebar mappings -- cgit v1.2.3