summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rwxr-xr-xbin/mw2
-rw-r--r--domains.csv94
3 files changed, 54 insertions, 48 deletions
diff --git a/README.md b/README.md
index 293b2c1..4843ae7 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,12 @@ sudo make install
User of Arch-based distros can also install mutt-wizard from the AUR as [mutt-wizard-git](https://aur.archlinux.org/packages/mutt-wizard-git/).
+*NOTE:* If you have used an older version of mutt-wizard, especially when it used to use `offlineimap`, you need to remove your old configs. Back anything up that's important and run:
+
+```
+rm -rf ~/.config/mutt ~/.msmtprc ~/.config/msmtp ~/.offlineimap ~/.offlineimaprc ~/.config/offlineimap ~/.mbsyncrc
+```
+
The mutt-wizard is run with the command `mw`. It also installs the `mailsync` command. Once everything is setup, you'll use `neomutt` to access your mail.
- `mw add` -- add a new email account
diff --git a/bin/mw b/bin/mw
index 5f033cd..39e5981 100755
--- a/bin/mw
+++ b/bin/mw
@@ -115,7 +115,7 @@ askinfo() { \
done
domain="$(echo "$fulladdr" | sed "s/.*@//")"
printf "\\nSearching for \033[32m%s\033[0m in \033[34m\`domains.csv\`\033[0m..." "$domain"
- serverinfo="$(grep "$domain" "$muttshare/domains.csv" 2>/dev/null)"
+ serverinfo="$(grep "^$domain" "$muttshare/domains.csv" 2>/dev/null)"
if [ -z "$serverinfo" ]; then
printf "Your email domain is not in mutt-wizard's database yet.\\nmutt-wizard will still autoconfigure everything, but you will have to manually type in your service's IMAP and SMTP server information.\\nYou can usually quickly find this by internet searching for it.\\n"
printf "Insert the IMAP server for your email provider (excluding the port number)\\n\033[36m\t"
diff --git a/domains.csv b/domains.csv
index 950c098..e1e198e 100644
--- a/domains.csv
+++ b/domains.csv
@@ -3,70 +3,70 @@ netcourrier.com,mail.netcourrier.com,993,mail.netcourrier.com,465
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,995,smtp.mail.com,587
-activist.com,imap.mail.com,995,smtp.mail.com,587
-adexec.com,imap.mail.com,995,smtp.mail.com,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,995,smtp.mail.com,587
-alumni.com,imap.mail.com,995,smtp.mail.com,587
-alumnidirector.com,imap.mail.com,995,smtp.mail.com,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,995,smtp.mail.com,587
+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,995,smtp.mail.com,587
-archaeologist.com,imap.mail.com,995,smtp.mail.com,587
-arcticmail.com,imap.mail.com,995,smtp.mail.com,587
-artlover.com,imap.mail.com,995,smtp.mail.com,587
-asia.com,imap.mail.com,995,smtp.mail.com,587
-auctioneer.net,imap.mail.com,995,smtp.mail.com,587
+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
+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,995,smtp.mail.com,587
+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,995,smtp.mail.com,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,995,smtp.mail.com,587
+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,995,smtp.mail.com,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,995,smtp.mail.com,587
-cheerful.com,imap.mail.com,995,smtp.mail.com,587
-chef.net,imap.mail.com,995,smtp.mail.com,587
-chemist.com,imap.mail.com,995,smtp.mail.com,587
-clerk.com,imap.mail.com,995,smtp.mail.com,587
-clubmember.org,imap.mail.com,995,smtp.mail.com,587
+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
+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,995,smtp.mail.com,587
-columnist.com,imap.mail.com,995,smtp.mail.com,587
-comic.com,imap.mail.com,995,smtp.mail.com,587
-computer4u.com,imap.mail.com,995,smtp.mail.com,587
-consultant.com,imap.mail.com,995,smtp.mail.com,587
-contractor.net,imap.mail.com,995,smtp.mail.com,587
-coolsite.net,imap.mail.com,995,smtp.mail.com,587
-counsellor.com,imap.mail.com,995,smtp.mail.com,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,995,smtp.mail.com,587
-deliveryman.com,imap.mail.com,995,smtp.mail.com,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,995,smtp.mail.com,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,995,smtp.mail.com,587
+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,995,smtp.mail.com,587
-engineer.com,imap.mail.com,995,smtp.mail.com,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,995,smtp.mail.com,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
@@ -93,20 +93,20 @@ 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
-iname.com,imap.mail.com,995,smtp.mail.com,587
+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
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,995,smtp.mail.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,995,smtp.mail.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
@@ -114,7 +114,7 @@ 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,995,smtp.mail.com,587
+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
nigge.rs,mail.cock.li,993,mail.cock.li,587
@@ -124,7 +124,7 @@ online.de,imap.1und1.de,993,smtp.1und1.de,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
paranoici.org,mail.autistici.org,993,smtp.autistici.org,465
-post.com,imap.mail.com,995,smtp.mail.com,587
+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
protonmail.ch,127.0.0.1,1143,127.0.0.1,1025
@@ -138,7 +138,7 @@ 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
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,995,smtp.mail.com,587
+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
@@ -146,14 +146,14 @@ 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
uach.mx,imap.gmail.com,993,smtp.gmail.com,587
uqtr.ca,outlook.office365.com,993,smtp.office365.com,587
-usa.com,imap.mail.com,995,smtp.mail.com,587
-uymail.com,imap.mail.com,995,smtp.mail.com,587
+usa.com,imap.mail.com,993,smtp.mail.com,587
+uymail.com,imap.mail.com,993,smtp.mail.com,587
vt.edu,imap.gmail.com,993,smtp.gmail.com,587
waifu.club,mail.cock.li,993,mail.cock.li,587
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
-writeme.com,imap.mail.com,995,smtp.mail.com,587
+writeme.com,imap.mail.com,993,smtp.mail.com,587
ya.ru,imap.yandex.com,993,smtp.yandex.com,587
yahoo.com,imap.mail.yahoo.com,993,smtp.mail.yahoo.com,587
yandex.by,imap.yandex.com,993,smtp.yandex.com,587