From de30654ac0ce3f156600835282122d38db9ad197 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 1 May 2019 21:24:41 -0400 Subject: share files moved and looped --- Makefile | 6 +- domains.csv | 197 ----------------------------------------------- mailcap | 7 -- mutt-wizard.muttrc | 146 ----------------------------------- share/domains.csv | 197 +++++++++++++++++++++++++++++++++++++++++++++++ share/mailcap | 7 ++ share/mutt-wizard.muttrc | 146 +++++++++++++++++++++++++++++++++++ 7 files changed, 353 insertions(+), 353 deletions(-) delete mode 100644 domains.csv delete mode 100644 mailcap delete mode 100644 mutt-wizard.muttrc create mode 100644 share/domains.csv create mode 100644 share/mailcap create mode 100644 share/mutt-wizard.muttrc diff --git a/Makefile b/Makefile index 7595861..e4a1440 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,9 @@ install: chmod 755 $(DESTDIR)$(PREFIX)/$$script; \ done mkdir -p $(DESTDIR)$(PREFIX)/share/mutt-wizard - cp -f mailcap $(DESTDIR)$(PREFIX)/share/mutt-wizard - cp -f mutt-wizard.muttrc $(DESTDIR)$(PREFIX)/share/mutt-wizard - cp -f domains.csv $(DESTDIR)$(PREFIX)/share/mutt-wizard + for shared in share/*; do \ + cp -f $$shared $(DESTDIR)$(PREFIX)/share/mutt-wizard; \ + done mkdir -p $(DESTDIR)$(MANPREFIX)/man1 cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1 diff --git a/domains.csv b/domains.csv deleted file mode 100644 index 62cdf33..0000000 --- a/domains.csv +++ /dev/null @@ -1,197 +0,0 @@ -ADDRESS,IMAP,imap port,SMTP,smtp port -420blaze.it,mail.cock.li,993,mail.cock.li,587 -8chan.co,mail.cock.li,993,mail.cock.li,587 -aaathats3as.com,mail.cock.li,993,mail.cock.li,587 -accountant.com,imap.mail.com,993,smtp.mail.com,587 -activist.com,imap.mail.com,993,smtp.mail.com,587 -adexec.com,imap.mail.com,993,smtp.mail.com,587 -airmail.cc,mail.cock.li,993,mail.cock.li,587 -allergist.com,imap.mail.com,993,smtp.mail.com,587 -alumni.com,imap.mail.com,993,smtp.mail.com,587 -alumnidirector.com,imap.mail.com,993,smtp.mail.com,587 -anche.no,mail.autistici.org,993,smtp.autistici.org,465 -angelic.com,imap.mail.com,993,smtp.mail.com,587 -aol.com,imap.aol.com,993,smtp.aol.com,465 -appraiser.net,imap.mail.com,993,smtp.mail.com,587 -archaeologist.com,imap.mail.com,993,smtp.mail.com,587 -arcticmail.com,imap.mail.com,993,smtp.mail.com,587 -artlover.com,imap.mail.com,993,smtp.mail.com,587 -asia.com,imap.mail.com,993,smtp.mail.com,587 -autograf.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 -auctioneer.net,imap.mail.com,993,smtp.mail.com,587 -autistiche.org,mail.autistici.org,993,smtp.autistici.org,465 -autistici.org,mail.autistici.org,993,smtp.autistici.org,465 -autoproduzioni.net,mail.autistici.org,993,smtp.autistici.org,465 -bartender.net,imap.mail.com,993,smtp.mail.com,587 -bastardi.net,mail.autistici.org,993,smtp.autistici.org,465 -bguth.de,wp300.webpack.hosteurope.de,993,wp300.webpack.hosteurope.de,587 -bikerider.com,imap.mail.com,993,smtp.mail.com,587 -billycarlyle.uk,mail.muny.us,993,mail.muny.us,465 -birdlover.com,imap.mail.com,993,smtp.mail.com,587 -bjoernguthphotography.de,wp300.webpack.hosteurope.de,993,wp300.webpack.hosteurope.de,587 -brew-meister.com,imap.mail.com,993,smtp.mail.com,587 -bruttocarattere.org,mail.autistici.org,993,smtp.autistici.org,465 -canaglie.net,mail.autistici.org,993,smtp.autistici.org,465 -canaglie.org,mail.autistici.org,993,smtp.autistici.org,465 -cash4u.com,imap.mail.com,993,smtp.mail.com,587 -cheerful.com,imap.mail.com,993,smtp.mail.com,587 -chef.net,imap.mail.com,993,smtp.mail.com,587 -chemist.com,imap.mail.com,993,smtp.mail.com,587 -chrissx.ga,chrissx.ga,993,chrissx.ga,25 -clerk.com,imap.mail.com,993,smtp.mail.com,587 -clubmember.org,imap.mail.com,993,smtp.mail.com,587 -cocaine.ninja,mail.cock.li,993,mail.cock.li,587 -cock.email,mail.cock.li,993,mail.cock.li,587 -cock.li,mail.cock.li,993,mail.cock.li,587 -cock.lu,mail.cock.li,993,mail.cock.li,587 -collector.org,imap.mail.com,993,smtp.mail.com,587 -columnist.com,imap.mail.com,993,smtp.mail.com,587 -comic.com,imap.mail.com,993,smtp.mail.com,587 -computer4u.com,imap.mail.com,993,smtp.mail.com,587 -consultant.com,imap.mail.com,993,smtp.mail.com,587 -contractor.net,imap.mail.com,993,smtp.mail.com,587 -coolsite.net,imap.mail.com,993,smtp.mail.com,587 -counsellor.com,imap.mail.com,993,smtp.mail.com,587 -cryptolab.net,mail.autistici.org,993,smtp.autistici.org,465 -cumallover.me,mail.cock.li,993,mail.cock.li,587 -cyberservices.com,imap.mail.com,993,smtp.mail.com,587 -deliveryman.com,imap.mail.com,993,smtp.mail.com,587 -dicksinhisan.us,mail.cock.li,993,mail.cock.li,587 -dicksinmyan.us,mail.cock.li,993,mail.cock.li,587 -diplomats.com,imap.mail.com,993,smtp.mail.com,587 -disroot.org,disroot.org,993,disroot.org,587 -distruzione.org,mail.autistici.org,993,smtp.autistici.org,465 -dr.com,imap.mail.com,993,smtp.mail.com,587 -duke.edu,outlook.office365.com,993,smtp.office365.com,587 -email.arizona.edu,mail.catnet.arizona.edu,993,smtpgate.email.arizona.edu,587 -email.com,imap.mail.com,993,smtp.mail.com,587 -engineer.com,imap.mail.com,993,smtp.mail.com,587 -erciyes.edu.tr,posta.erciyes.edu.tr,993,smtp.erciyes.edu.tr,587 -europe.com,imap.mail.com,993,smtp.mail.com,587 -fastmail.com,imap.fastmail.com,993,smtp.fastmail.com,465 -fastmail.fm,imap.fastmail.com,993,smtp.fastmail.com,465 -firemail.cc,mail.cock.li,993,mail.cock.li,587 -forthnet.gr,mail.forthnet.gr,993,smtp-auth.forthnet.gr,465 -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 -getbackinthe.kitchen,mail.cock.li,993,mail.cock.li,587 -gmail.com,imap.gmail.com,993,smtp.gmail.com,587 -gmx.at,imap.gmx.net,993,mail.gmx.net,587 -gmx.com,imap.gmx.net,993,mail.gmx.net,587 -gmx.de,imap.gmx.net,993,mail.gmx.net,587 -gmx.eu,imap.gmx.net,993,mail.gmx.net,587 -gmx.info,imap.gmx.net,993,mail.gmx.net,587 -gmx.net,imap.gmx.net,993,mail.gmx.net,587 -gmx.org,imap.gmx.net,993,mail.gmx.net,587 -go2.pl,poczta.o2.pl,993,poczta.o2.pl,465 -goat.si,mail.cock.li,993,mail.cock.li,587 -googlemail.com,imap.googlemail.com,993,smtp.googlemail.com,587 -grrlz.net,mail.autistici.org,993,smtp.autistici.org,465 -hacari.com,mail.autistici.org,993,smtp.autistici.org,465 -hacari.net,mail.autistici.org,993,smtp.autistici.org,465 -hacari.org,mail.autistici.org,993,smtp.autistici.org,465 -hitler.rocks,mail.cock.li,993,mail.cock.li,587 -horsefucker.org,mail.cock.li,993,mail.cock.li,587 -hostgator,gator4171.hostgator.com,993,gator4171.hostgator.com,587 -hotmail.com,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 -hotmail.fr,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 -hushmail.com,imap.hushmail.com,993,smtp.hushmail.com,465 -illinois.edu, imap.gmail.com,993,smtp.gmail.com,465 -iname.com,imap.mail.com,993,smtp.mail.com,587 -insiberia.net,mail.autistici.org,993,smtp.autistici.org,465 -insicuri.net,mail.autistici.org,993,smtp.autistici.org,465 -interia.eu,poczta.interia.pl,993,poczta.interia.pl,465 -interia.pl,poczta.interia.pl,993,poczta.interia.pl,465 -inventati.org,mail.autistici.org,993,smtp.autistici.org,465 -kipras.org,mail.kipras.org,993,mail.kipras.org,587 -krutt.org,mail.autistici.org,993,smtp.autistici.org,465 -lavabit.com,lavabit.com,993,lavabit.com,587 -linuxmail.org,imap.mail.com,993,smtp.mail.com,587 -live.com,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 -logorroici.org,mail.autistici.org,993,smtp.autistici.org,465 -loves.dicksinhisan.us,mail.cock.li,993,mail.cock.li,587 -loves.dicksinmyan.us,mail.cock.li,993,mail.cock.li,587 -lukesmith.xyz,imap.yandex.com,993,smtp.yandex.com,587 -mail.com,imap.mail.com,993,smtp.mail.com,587 -mail.ru,imap.mail.ru,993,smtp.mail.ru,465 -mailbox.org,imap.mailbox.org,993,smtps.mailbox.org,465 -memeware.net,mail.cock.li,993,mail.cock.li,587 -ml1.net,imap.fastmail.com,993,smtp.fastmail.com,465 -mortemale.org,mail.autistici.org,993,smtp.autistici.org,465 -msn.com,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 -muny.us,mail.muny.us,993,mail.muny.us,465 -myself.com,imap.mail.com,993,smtp.mail.com,587 -narod.ru,imap.yandex.com,993,smtp.yandex.com,587 -national.shitposting.agency,mail.cock.li,993,mail.cock.li,587 -netcourrier.com,mail.netcourrier.com,993,mail.netcourrier.com,465 -nigge.rs,mail.cock.li,993,mail.cock.li,587 -nuke.africa,mail.cock.li,993,mail.cock.li,587 -nyu.edu,imap.gmail.com,993,smtp.gmail.com,587 -o2.pl,poczta.o2.pl,993,poczta.o2.pl,465 -onenetbeyond.org,mail.autistici.org,993,smtp.autistici.org,465 -onet.com.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 -onet.eu,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 -onet.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 -online.de,imap.1und1.de,993,smtp.1und1.de,465 -op.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 -opoczta.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 -orange.fr,imap.orange.fr,993,smtp.orange.fr,465 -outlook.com,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 -outlook.de,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 -outlook.at,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 -paranoici.org,mail.autistici.org,993,smtp.autistici.org,465 -pm.me,127.0.0.1,1143,127.0.0.1,1025 -poczta.fm,poczta.interia.pl,993,poczta.interia.pl,465 -poczta.onet.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 -post.com,imap.mail.com,993,smtp.mail.com,587 -posteo.de,posteo.de,993,posteo.de,587 -privacyrequired.com,mail.autistici.org,993,smtp.autistici.org,465 -prokonto.pl,poczta.o2.pl,993,poczta.o2.pl,465 -protonmail.ch,127.0.0.1,1143,127.0.0.1,1025 -protonmail.com,127.0.0.1,1143,127.0.0.1,1025 -rape.lol,mail.cock.li,993,mail.cock.li,587 -redchan.it,mail.cock.li,993,mail.cock.li,587 -runbox.com,mail.runbox.com,993,mail.runbox.com,587 -rwth-aachen.de,mail.rwth-aachen.de,993,mail.rwth-aachen.de,587 -sapo.pt,imap.sapo.pt,993,smtp.sapo.pt,587 -spoko.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 -stronzi.org,mail.autistici.org,993,smtp.autistici.org,465 -stud.tu-darmstadt.de,imap.stud.tu-darmstadt.de,993,smtp.tu-darmstadt.de,465 -stud.uis.no,outlook.office365.com,993,smtp.office365.com,587 -studserv.uni-leipzig.de,studserv.uni-leipzig.de,993,studserv.uni-leipzig.de,25 -subvertising.org,mail.autistici.org,993,smtp.autistici.org,465 -t-online.de,secureimap.t-online.de,993,securesmtp.t-online.de,465 -techie.com,imap.mail.com,993,smtp.mail.com,587 -teknik.io,mail.teknik.io,993,mail.teknik.io,587 -telenet.be,imap.telenet.be,993,smtp.telenet.be,587 -tfwno.gf,mail.cock.li,993,mail.cock.li,587 -tlen.pl,poczta.o2.pl,993,poczta.o2.pl,465 -tu-harburg.de,mail.tu-harburg.de,993,mail.tu-harburg.de,587 -tuhh.de,mail.tu-harburg.de,993,mail.tu-harburg.de,587 -txstate.edu,outlook.office365.com,993,smtp.office365.com,587 -uach.mx,imap.gmail.com,993,smtp.gmail.com,587 -uoregon.edu,imap.uoregon.edu,993,smtp.uoregon.edu,587 -uqtr.ca,outlook.office365.com,993,smtp.office365.com,587 -usa.com,imap.mail.com,993,smtp.mail.com,587 -uymail.com,imap.mail.com,993,smtp.mail.com,587 -vip.onet.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 -vp.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 -vt.edu,imap.gmail.com,993,smtp.gmail.com,587 -waifu.club,mail.cock.li,993,mail.cock.li,587 -wanadoo.fr,imap.orange.fr,993,smtp.orange.fr,465 -wants.dicksinhisan.us,mail.cock.li,993,mail.cock.li,587 -wants.dicksinmyan.us,mail.cock.li,993,mail.cock.li,587 -web.de,imap.web.de,993,smtp.web.de,587 -wp.pl,imap.wp.pl,993,smtp.wp.pl,465 -writeme.com,imap.mail.com,993,smtp.mail.com,587 -ya.ru,imap.yandex.com,993,smtp.yandex.com,587 -yahoo.fr,imap.mail.yahoo.com,993,smtp.mail.yahoo.com,587 -yahoo.com,imap.mail.yahoo.com,993,smtp.mail.yahoo.com,587 -yandex.by,imap.yandex.com,993,smtp.yandex.com,587 -yandex.com,imap.yandex.com,993,smtp.yandex.com,587 -yandex.kz,imap.yandex.com,993,smtp.yandex.com,587 -yandex.net,imap.yandex.com,993,smtp.yandex.com,587 -yandex.ru,imap.yandex.com,993,smtp.yandex.com,587 -yandex.ua,imap.yandex.com,993,smtp.yandex.com,587 -zoho.com,imap.zoho.com,993,smtp.zoho.com,465 - diff --git a/mailcap b/mailcap deleted file mode 100644 index c9c0a68..0000000 --- a/mailcap +++ /dev/null @@ -1,7 +0,0 @@ -text/plain; $EDITOR %s ; -text/html; openfile %s ; -text/html; w3m -I %{charset} -T text/html; copiousoutput; -image/*; muttimage %s ; copiousoutput -video/*; setsid mpv --quiet %s &; copiousoutput -application/pdf; openfile %s ; -application/pgp-encrypted; gpg -d '%s'; copiousoutput; diff --git a/mutt-wizard.muttrc b/mutt-wizard.muttrc deleted file mode 100644 index c8b7b59..0000000 --- a/mutt-wizard.muttrc +++ /dev/null @@ -1,146 +0,0 @@ -# vim: filetype=neomuttrc -# This file contains all of mutt-wizard's default settings. -# mutt-wizard will have this file sourced from your muttrc. -# In the interest of seamless updating, do not edit this file. -# If you want to override any settings, set those in your muttrc. -set mailcap_path = /usr/share/mutt-wizard/mailcap -set certificate_file = ~/.cache/mutt-wizard/certificates -set date_format="%y/%m/%d %I:%M%p" -set index_format="%2C %zs %?X?A& ? %D %-15.15F %s (%-4.4c)" -set sort = 'reverse-date' -set smtp_authenticators = 'gssapi:login' -set query_command = "abook --mutt-query '%s'" -set rfc2047_parameters = yes -set sleep_time = 0 # Pause 0 seconds for informational messages -set markers = no # Disables the `+` displayed at line wraps -set mark_old = no # Unread mail stay unread until read -set mime_forward = yes # attachments are forwarded with mail -set wait_key = no # mutt won't ask "press key to continue" -set fast_reply # skip to compose when replying -set fcc_attach # save attachments with the body -set forward_format = "Fwd: %s" # format of subject when forwarding -set forward_quote # include message in forwards -set reverse_name # reply as whomever it was to -set include # include message in replies -auto_view text/html # automatically show html (mailcap uses w3m) -auto_view application/pgp-encrypted -alternative_order text/plain text/enriched text/html -bind index,pager i noop -bind index,pager g noop -bind index \Cf noop - -# General rebindings -bind attach view-mailcap -bind attach l view-mailcap -bind editor noop -bind index G last-entry -bind index gg first-entry -bind pager,attach h exit -bind pager j next-line -bind pager k previous-line -bind pager l view-attachments -bind index D delete-message -bind index U undelete-message -bind index L limit -bind index h noop -bind index l display-message -bind browser h goto-parent -bind browser l select-entry -bind pager,browser gg top-page -bind pager,browser G bottom-page -bind index,pager,browser d half-down -bind index,pager,browser u half-up -bind index,pager S sync-mailbox -bind index,pager R group-reply -bind index \031 previous-undeleted # Mouse wheel -bind index \005 next-undeleted # Mouse wheel -bind pager \031 previous-line # Mouse wheel -bind pager \005 next-line # Mouse wheel -bind editor complete-query - -macro index,pager a "|abook --add-email\n" 'add sender to abook' -macro index \Cr "T~UN." "mark all messages as read" -macro index O "mailsync -Va" "run offlineimap to sync all mail" -macro index \Cf "unset wait_keyread -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"" "show only messages matching a notmuch pattern" -macro index A "all\n" "show all messages (undo limit)" - -# Sidebar mappings -set sidebar_visible = yes -set sidebar_width = 20 -set sidebar_short_path = yes -set sidebar_next_new_wrap = yes -set mail_check_stats -set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?' -bind index,pager \Ck sidebar-prev -bind index,pager \Cj sidebar-next -bind index,pager \Co sidebar-open -bind index,pager \Cp sidebar-prev-new -bind index,pager \Cn sidebar-next-new -bind index,pager B sidebar-toggle-visible - -# Default index colors: -color index yellow default '.*' -color index_author red default '.*' -color index_number blue default -color index_subject cyan default '.*' - -# New mail is boldened: -color index brightyellow black "~N" -color index_author brightred black "~N" -color index_subject brightcyan black "~N" - -# Other colors and aesthetic settings: -mono bold bold -mono underline underline -mono indicator reverse -mono error bold -color normal default default -color indicator brightblack white -color sidebar_highlight red default -color sidebar_divider brightblack black -color sidebar_flagged red black -color sidebar_new green black -color normal brightyellow default -color error red default -color tilde black default -color message cyan default -color markers red white -color attachment white default -color search brightmagenta default -color status brightyellow black -color hdrdefault brightgreen default -color quoted green default -color quoted1 blue default -color quoted2 cyan default -color quoted3 yellow default -color quoted4 red default -color quoted5 brightred default -color signature brightgreen default -color bold black default -color underline black default -color normal default default - -# Regex highlighting: -color header blue default ".*" -color header brightmagenta default "^(From)" -color header brightcyan default "^(Subject)" -color header brightwhite default "^(CC|BCC)" -color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses -color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL -color body green default "\`[^\`]*\`" # Green text between ` and ` -color body brightblue default "^# \.*" # Headings as bold blue -color body brightcyan default "^## \.*" # Subheadings as bold cyan -color body brightgreen default "^### \.*" # Subsubheadings as bold green -color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow -color body brightcyan default "[;:][-o][)/(|]" # emoticons -color body brightcyan default "[;:][)(|]" # emoticons -color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon? -color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon? -color body red default "(BAD signature)" -color body cyan default "(Good signature)" -color body brightblack default "^gpg: Good signature .*" -color body brightyellow default "^gpg: " -color body brightyellow red "^gpg: BAD signature from.*" -mono body bold "^gpg: Good signature" -mono body bold "^gpg: BAD signature from.*" -color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]" diff --git a/share/domains.csv b/share/domains.csv new file mode 100644 index 0000000..62cdf33 --- /dev/null +++ b/share/domains.csv @@ -0,0 +1,197 @@ +ADDRESS,IMAP,imap port,SMTP,smtp port +420blaze.it,mail.cock.li,993,mail.cock.li,587 +8chan.co,mail.cock.li,993,mail.cock.li,587 +aaathats3as.com,mail.cock.li,993,mail.cock.li,587 +accountant.com,imap.mail.com,993,smtp.mail.com,587 +activist.com,imap.mail.com,993,smtp.mail.com,587 +adexec.com,imap.mail.com,993,smtp.mail.com,587 +airmail.cc,mail.cock.li,993,mail.cock.li,587 +allergist.com,imap.mail.com,993,smtp.mail.com,587 +alumni.com,imap.mail.com,993,smtp.mail.com,587 +alumnidirector.com,imap.mail.com,993,smtp.mail.com,587 +anche.no,mail.autistici.org,993,smtp.autistici.org,465 +angelic.com,imap.mail.com,993,smtp.mail.com,587 +aol.com,imap.aol.com,993,smtp.aol.com,465 +appraiser.net,imap.mail.com,993,smtp.mail.com,587 +archaeologist.com,imap.mail.com,993,smtp.mail.com,587 +arcticmail.com,imap.mail.com,993,smtp.mail.com,587 +artlover.com,imap.mail.com,993,smtp.mail.com,587 +asia.com,imap.mail.com,993,smtp.mail.com,587 +autograf.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 +auctioneer.net,imap.mail.com,993,smtp.mail.com,587 +autistiche.org,mail.autistici.org,993,smtp.autistici.org,465 +autistici.org,mail.autistici.org,993,smtp.autistici.org,465 +autoproduzioni.net,mail.autistici.org,993,smtp.autistici.org,465 +bartender.net,imap.mail.com,993,smtp.mail.com,587 +bastardi.net,mail.autistici.org,993,smtp.autistici.org,465 +bguth.de,wp300.webpack.hosteurope.de,993,wp300.webpack.hosteurope.de,587 +bikerider.com,imap.mail.com,993,smtp.mail.com,587 +billycarlyle.uk,mail.muny.us,993,mail.muny.us,465 +birdlover.com,imap.mail.com,993,smtp.mail.com,587 +bjoernguthphotography.de,wp300.webpack.hosteurope.de,993,wp300.webpack.hosteurope.de,587 +brew-meister.com,imap.mail.com,993,smtp.mail.com,587 +bruttocarattere.org,mail.autistici.org,993,smtp.autistici.org,465 +canaglie.net,mail.autistici.org,993,smtp.autistici.org,465 +canaglie.org,mail.autistici.org,993,smtp.autistici.org,465 +cash4u.com,imap.mail.com,993,smtp.mail.com,587 +cheerful.com,imap.mail.com,993,smtp.mail.com,587 +chef.net,imap.mail.com,993,smtp.mail.com,587 +chemist.com,imap.mail.com,993,smtp.mail.com,587 +chrissx.ga,chrissx.ga,993,chrissx.ga,25 +clerk.com,imap.mail.com,993,smtp.mail.com,587 +clubmember.org,imap.mail.com,993,smtp.mail.com,587 +cocaine.ninja,mail.cock.li,993,mail.cock.li,587 +cock.email,mail.cock.li,993,mail.cock.li,587 +cock.li,mail.cock.li,993,mail.cock.li,587 +cock.lu,mail.cock.li,993,mail.cock.li,587 +collector.org,imap.mail.com,993,smtp.mail.com,587 +columnist.com,imap.mail.com,993,smtp.mail.com,587 +comic.com,imap.mail.com,993,smtp.mail.com,587 +computer4u.com,imap.mail.com,993,smtp.mail.com,587 +consultant.com,imap.mail.com,993,smtp.mail.com,587 +contractor.net,imap.mail.com,993,smtp.mail.com,587 +coolsite.net,imap.mail.com,993,smtp.mail.com,587 +counsellor.com,imap.mail.com,993,smtp.mail.com,587 +cryptolab.net,mail.autistici.org,993,smtp.autistici.org,465 +cumallover.me,mail.cock.li,993,mail.cock.li,587 +cyberservices.com,imap.mail.com,993,smtp.mail.com,587 +deliveryman.com,imap.mail.com,993,smtp.mail.com,587 +dicksinhisan.us,mail.cock.li,993,mail.cock.li,587 +dicksinmyan.us,mail.cock.li,993,mail.cock.li,587 +diplomats.com,imap.mail.com,993,smtp.mail.com,587 +disroot.org,disroot.org,993,disroot.org,587 +distruzione.org,mail.autistici.org,993,smtp.autistici.org,465 +dr.com,imap.mail.com,993,smtp.mail.com,587 +duke.edu,outlook.office365.com,993,smtp.office365.com,587 +email.arizona.edu,mail.catnet.arizona.edu,993,smtpgate.email.arizona.edu,587 +email.com,imap.mail.com,993,smtp.mail.com,587 +engineer.com,imap.mail.com,993,smtp.mail.com,587 +erciyes.edu.tr,posta.erciyes.edu.tr,993,smtp.erciyes.edu.tr,587 +europe.com,imap.mail.com,993,smtp.mail.com,587 +fastmail.com,imap.fastmail.com,993,smtp.fastmail.com,465 +fastmail.fm,imap.fastmail.com,993,smtp.fastmail.com,465 +firemail.cc,mail.cock.li,993,mail.cock.li,587 +forthnet.gr,mail.forthnet.gr,993,smtp-auth.forthnet.gr,465 +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 +getbackinthe.kitchen,mail.cock.li,993,mail.cock.li,587 +gmail.com,imap.gmail.com,993,smtp.gmail.com,587 +gmx.at,imap.gmx.net,993,mail.gmx.net,587 +gmx.com,imap.gmx.net,993,mail.gmx.net,587 +gmx.de,imap.gmx.net,993,mail.gmx.net,587 +gmx.eu,imap.gmx.net,993,mail.gmx.net,587 +gmx.info,imap.gmx.net,993,mail.gmx.net,587 +gmx.net,imap.gmx.net,993,mail.gmx.net,587 +gmx.org,imap.gmx.net,993,mail.gmx.net,587 +go2.pl,poczta.o2.pl,993,poczta.o2.pl,465 +goat.si,mail.cock.li,993,mail.cock.li,587 +googlemail.com,imap.googlemail.com,993,smtp.googlemail.com,587 +grrlz.net,mail.autistici.org,993,smtp.autistici.org,465 +hacari.com,mail.autistici.org,993,smtp.autistici.org,465 +hacari.net,mail.autistici.org,993,smtp.autistici.org,465 +hacari.org,mail.autistici.org,993,smtp.autistici.org,465 +hitler.rocks,mail.cock.li,993,mail.cock.li,587 +horsefucker.org,mail.cock.li,993,mail.cock.li,587 +hostgator,gator4171.hostgator.com,993,gator4171.hostgator.com,587 +hotmail.com,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 +hotmail.fr,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 +hushmail.com,imap.hushmail.com,993,smtp.hushmail.com,465 +illinois.edu, imap.gmail.com,993,smtp.gmail.com,465 +iname.com,imap.mail.com,993,smtp.mail.com,587 +insiberia.net,mail.autistici.org,993,smtp.autistici.org,465 +insicuri.net,mail.autistici.org,993,smtp.autistici.org,465 +interia.eu,poczta.interia.pl,993,poczta.interia.pl,465 +interia.pl,poczta.interia.pl,993,poczta.interia.pl,465 +inventati.org,mail.autistici.org,993,smtp.autistici.org,465 +kipras.org,mail.kipras.org,993,mail.kipras.org,587 +krutt.org,mail.autistici.org,993,smtp.autistici.org,465 +lavabit.com,lavabit.com,993,lavabit.com,587 +linuxmail.org,imap.mail.com,993,smtp.mail.com,587 +live.com,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 +logorroici.org,mail.autistici.org,993,smtp.autistici.org,465 +loves.dicksinhisan.us,mail.cock.li,993,mail.cock.li,587 +loves.dicksinmyan.us,mail.cock.li,993,mail.cock.li,587 +lukesmith.xyz,imap.yandex.com,993,smtp.yandex.com,587 +mail.com,imap.mail.com,993,smtp.mail.com,587 +mail.ru,imap.mail.ru,993,smtp.mail.ru,465 +mailbox.org,imap.mailbox.org,993,smtps.mailbox.org,465 +memeware.net,mail.cock.li,993,mail.cock.li,587 +ml1.net,imap.fastmail.com,993,smtp.fastmail.com,465 +mortemale.org,mail.autistici.org,993,smtp.autistici.org,465 +msn.com,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 +muny.us,mail.muny.us,993,mail.muny.us,465 +myself.com,imap.mail.com,993,smtp.mail.com,587 +narod.ru,imap.yandex.com,993,smtp.yandex.com,587 +national.shitposting.agency,mail.cock.li,993,mail.cock.li,587 +netcourrier.com,mail.netcourrier.com,993,mail.netcourrier.com,465 +nigge.rs,mail.cock.li,993,mail.cock.li,587 +nuke.africa,mail.cock.li,993,mail.cock.li,587 +nyu.edu,imap.gmail.com,993,smtp.gmail.com,587 +o2.pl,poczta.o2.pl,993,poczta.o2.pl,465 +onenetbeyond.org,mail.autistici.org,993,smtp.autistici.org,465 +onet.com.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 +onet.eu,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 +onet.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 +online.de,imap.1und1.de,993,smtp.1und1.de,465 +op.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 +opoczta.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 +orange.fr,imap.orange.fr,993,smtp.orange.fr,465 +outlook.com,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 +outlook.de,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 +outlook.at,imap-mail.outlook.com,993,smtp-mail.outlook.com,587 +paranoici.org,mail.autistici.org,993,smtp.autistici.org,465 +pm.me,127.0.0.1,1143,127.0.0.1,1025 +poczta.fm,poczta.interia.pl,993,poczta.interia.pl,465 +poczta.onet.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 +post.com,imap.mail.com,993,smtp.mail.com,587 +posteo.de,posteo.de,993,posteo.de,587 +privacyrequired.com,mail.autistici.org,993,smtp.autistici.org,465 +prokonto.pl,poczta.o2.pl,993,poczta.o2.pl,465 +protonmail.ch,127.0.0.1,1143,127.0.0.1,1025 +protonmail.com,127.0.0.1,1143,127.0.0.1,1025 +rape.lol,mail.cock.li,993,mail.cock.li,587 +redchan.it,mail.cock.li,993,mail.cock.li,587 +runbox.com,mail.runbox.com,993,mail.runbox.com,587 +rwth-aachen.de,mail.rwth-aachen.de,993,mail.rwth-aachen.de,587 +sapo.pt,imap.sapo.pt,993,smtp.sapo.pt,587 +spoko.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 +stronzi.org,mail.autistici.org,993,smtp.autistici.org,465 +stud.tu-darmstadt.de,imap.stud.tu-darmstadt.de,993,smtp.tu-darmstadt.de,465 +stud.uis.no,outlook.office365.com,993,smtp.office365.com,587 +studserv.uni-leipzig.de,studserv.uni-leipzig.de,993,studserv.uni-leipzig.de,25 +subvertising.org,mail.autistici.org,993,smtp.autistici.org,465 +t-online.de,secureimap.t-online.de,993,securesmtp.t-online.de,465 +techie.com,imap.mail.com,993,smtp.mail.com,587 +teknik.io,mail.teknik.io,993,mail.teknik.io,587 +telenet.be,imap.telenet.be,993,smtp.telenet.be,587 +tfwno.gf,mail.cock.li,993,mail.cock.li,587 +tlen.pl,poczta.o2.pl,993,poczta.o2.pl,465 +tu-harburg.de,mail.tu-harburg.de,993,mail.tu-harburg.de,587 +tuhh.de,mail.tu-harburg.de,993,mail.tu-harburg.de,587 +txstate.edu,outlook.office365.com,993,smtp.office365.com,587 +uach.mx,imap.gmail.com,993,smtp.gmail.com,587 +uoregon.edu,imap.uoregon.edu,993,smtp.uoregon.edu,587 +uqtr.ca,outlook.office365.com,993,smtp.office365.com,587 +usa.com,imap.mail.com,993,smtp.mail.com,587 +uymail.com,imap.mail.com,993,smtp.mail.com,587 +vip.onet.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 +vp.pl,imap.poczta.onet.pl,993,smtp.poczta.onet.pl,465 +vt.edu,imap.gmail.com,993,smtp.gmail.com,587 +waifu.club,mail.cock.li,993,mail.cock.li,587 +wanadoo.fr,imap.orange.fr,993,smtp.orange.fr,465 +wants.dicksinhisan.us,mail.cock.li,993,mail.cock.li,587 +wants.dicksinmyan.us,mail.cock.li,993,mail.cock.li,587 +web.de,imap.web.de,993,smtp.web.de,587 +wp.pl,imap.wp.pl,993,smtp.wp.pl,465 +writeme.com,imap.mail.com,993,smtp.mail.com,587 +ya.ru,imap.yandex.com,993,smtp.yandex.com,587 +yahoo.fr,imap.mail.yahoo.com,993,smtp.mail.yahoo.com,587 +yahoo.com,imap.mail.yahoo.com,993,smtp.mail.yahoo.com,587 +yandex.by,imap.yandex.com,993,smtp.yandex.com,587 +yandex.com,imap.yandex.com,993,smtp.yandex.com,587 +yandex.kz,imap.yandex.com,993,smtp.yandex.com,587 +yandex.net,imap.yandex.com,993,smtp.yandex.com,587 +yandex.ru,imap.yandex.com,993,smtp.yandex.com,587 +yandex.ua,imap.yandex.com,993,smtp.yandex.com,587 +zoho.com,imap.zoho.com,993,smtp.zoho.com,465 + diff --git a/share/mailcap b/share/mailcap new file mode 100644 index 0000000..c9c0a68 --- /dev/null +++ b/share/mailcap @@ -0,0 +1,7 @@ +text/plain; $EDITOR %s ; +text/html; openfile %s ; +text/html; w3m -I %{charset} -T text/html; copiousoutput; +image/*; muttimage %s ; copiousoutput +video/*; setsid mpv --quiet %s &; copiousoutput +application/pdf; openfile %s ; +application/pgp-encrypted; gpg -d '%s'; copiousoutput; diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc new file mode 100644 index 0000000..c8b7b59 --- /dev/null +++ b/share/mutt-wizard.muttrc @@ -0,0 +1,146 @@ +# vim: filetype=neomuttrc +# This file contains all of mutt-wizard's default settings. +# mutt-wizard will have this file sourced from your muttrc. +# In the interest of seamless updating, do not edit this file. +# If you want to override any settings, set those in your muttrc. +set mailcap_path = /usr/share/mutt-wizard/mailcap +set certificate_file = ~/.cache/mutt-wizard/certificates +set date_format="%y/%m/%d %I:%M%p" +set index_format="%2C %zs %?X?A& ? %D %-15.15F %s (%-4.4c)" +set sort = 'reverse-date' +set smtp_authenticators = 'gssapi:login' +set query_command = "abook --mutt-query '%s'" +set rfc2047_parameters = yes +set sleep_time = 0 # Pause 0 seconds for informational messages +set markers = no # Disables the `+` displayed at line wraps +set mark_old = no # Unread mail stay unread until read +set mime_forward = yes # attachments are forwarded with mail +set wait_key = no # mutt won't ask "press key to continue" +set fast_reply # skip to compose when replying +set fcc_attach # save attachments with the body +set forward_format = "Fwd: %s" # format of subject when forwarding +set forward_quote # include message in forwards +set reverse_name # reply as whomever it was to +set include # include message in replies +auto_view text/html # automatically show html (mailcap uses w3m) +auto_view application/pgp-encrypted +alternative_order text/plain text/enriched text/html +bind index,pager i noop +bind index,pager g noop +bind index \Cf noop + +# General rebindings +bind attach view-mailcap +bind attach l view-mailcap +bind editor noop +bind index G last-entry +bind index gg first-entry +bind pager,attach h exit +bind pager j next-line +bind pager k previous-line +bind pager l view-attachments +bind index D delete-message +bind index U undelete-message +bind index L limit +bind index h noop +bind index l display-message +bind browser h goto-parent +bind browser l select-entry +bind pager,browser gg top-page +bind pager,browser G bottom-page +bind index,pager,browser d half-down +bind index,pager,browser u half-up +bind index,pager S sync-mailbox +bind index,pager R group-reply +bind index \031 previous-undeleted # Mouse wheel +bind index \005 next-undeleted # Mouse wheel +bind pager \031 previous-line # Mouse wheel +bind pager \005 next-line # Mouse wheel +bind editor complete-query + +macro index,pager a "|abook --add-email\n" 'add sender to abook' +macro index \Cr "T~UN." "mark all messages as read" +macro index O "mailsync -Va" "run offlineimap to sync all mail" +macro index \Cf "unset wait_keyread -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"" "show only messages matching a notmuch pattern" +macro index A "all\n" "show all messages (undo limit)" + +# Sidebar mappings +set sidebar_visible = yes +set sidebar_width = 20 +set sidebar_short_path = yes +set sidebar_next_new_wrap = yes +set mail_check_stats +set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?' +bind index,pager \Ck sidebar-prev +bind index,pager \Cj sidebar-next +bind index,pager \Co sidebar-open +bind index,pager \Cp sidebar-prev-new +bind index,pager \Cn sidebar-next-new +bind index,pager B sidebar-toggle-visible + +# Default index colors: +color index yellow default '.*' +color index_author red default '.*' +color index_number blue default +color index_subject cyan default '.*' + +# New mail is boldened: +color index brightyellow black "~N" +color index_author brightred black "~N" +color index_subject brightcyan black "~N" + +# Other colors and aesthetic settings: +mono bold bold +mono underline underline +mono indicator reverse +mono error bold +color normal default default +color indicator brightblack white +color sidebar_highlight red default +color sidebar_divider brightblack black +color sidebar_flagged red black +color sidebar_new green black +color normal brightyellow default +color error red default +color tilde black default +color message cyan default +color markers red white +color attachment white default +color search brightmagenta default +color status brightyellow black +color hdrdefault brightgreen default +color quoted green default +color quoted1 blue default +color quoted2 cyan default +color quoted3 yellow default +color quoted4 red default +color quoted5 brightred default +color signature brightgreen default +color bold black default +color underline black default +color normal default default + +# Regex highlighting: +color header blue default ".*" +color header brightmagenta default "^(From)" +color header brightcyan default "^(Subject)" +color header brightwhite default "^(CC|BCC)" +color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses +color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL +color body green default "\`[^\`]*\`" # Green text between ` and ` +color body brightblue default "^# \.*" # Headings as bold blue +color body brightcyan default "^## \.*" # Subheadings as bold cyan +color body brightgreen default "^### \.*" # Subsubheadings as bold green +color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow +color body brightcyan default "[;:][-o][)/(|]" # emoticons +color body brightcyan default "[;:][)(|]" # emoticons +color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon? +color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon? +color body red default "(BAD signature)" +color body cyan default "(Good signature)" +color body brightblack default "^gpg: Good signature .*" +color body brightyellow default "^gpg: " +color body brightyellow red "^gpg: BAD signature from.*" +mono body bold "^gpg: Good signature" +mono body bold "^gpg: BAD signature from.*" +color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]" -- cgit v1.2.3