Commit Graph

112 Commits

Author SHA1 Message Date
WhaleJ84
48f61faef7 Modified code to work better with Protonmail (#267)
Added new search location for certificates and modified command that caused errors for Protonmail users.
2019-08-06 08:07:18 -04:00
Robert White
c37a748227 Surround value of imap_pass with quotes (#260)
If the password contains single quotes and is not surrounded by quotes,
Mutt removes the single quotes, rendering an incorrect password.
2019-07-22 18:24:58 -04:00
Kriss
d7dd9f89fe actually terminate the script on Ctrl-C (#236)
In my [PR 224](https://github.com/LukeSmithxyz/mutt-wizard/pull/224), I
introduced a bug.  While I was catching SIGINT with the trap statement,
I did not actually exit the script and returned into the shell.

Fixes https://github.com/LukeSmithxyz/mutt-wizard/issues/234
2019-06-07 12:12:20 -04:00
Luke Smith
f3a7f2b6fd
check mbsync, not mailsync 2019-06-01 22:46:26 -04:00
Luke Smith
7c1da4d168
compat for PASSWORD_STORE_DIR 2019-06-01 22:13:06 -04:00
Luke Smith
bd3818ff11
starttls off for port 465 2019-06-01 18:08:17 -04:00
Luke Smith
dd73533565
only sync active mbsync accounts 2019-06-01 17:59:47 -04:00
Luke Smith
e408f4b290
prep fix 2019-06-01 17:58:35 -04:00
luukvbaal
effa100e04
fix multiline subject header regression 2019-06-01 21:56:55 +02:00
luukvbaal
7955090f9f
fix forwarded emails and posix whitespace regex 2019-06-01 20:34:09 +02:00
luukvbaal
e50d51d3e5
fix multiline subjects and single word senders 2019-06-01 16:16:58 +02:00
luukvbaal
de2be5439d
perl decoding 2019-05-31 00:02:48 +02:00
luukvbaal
70257daa83
Merge branch 'master' into patch-1 2019-05-30 16:54:38 +02:00
luukvbaal
5d72b5da98
unnecessary sed command 2019-05-30 16:46:12 +02:00
luukvbaal
7d3658238b
parallelize multiple accounts and mail preview 2019-05-30 16:23:41 +02:00
Kr1ss
e4813ae215
restore default text color on 'Ctrl-C' exit
The terminal text color  wasn't reset when the user  aborted the wizard
while being prompted for input.
This resolves https://github.com/LukeSmithxyz/mutt-wizard/issues/224
2019-05-28 01:09:25 +02:00
Luke Smith
0a097fe234
Merge pull request #211 from voloshyn/master
use image resolution to display the image attachments
2019-05-20 15:58:04 -04:00
Luke Smith
55e3bb683c
portable openfile 2019-05-20 15:41:03 -04:00
Luke Smith
e4794af679
escape spaces in mailboxes 2019-05-20 13:44:51 -04:00
Luke Smith
a6c81625c8
posix and mac fix 2019-05-20 13:09:11 -04:00
Luke Smith
4c57b410fc
gnuisms removed 2019-05-20 12:59:27 -04:00
Alex Voloshyn
f807448b64 use image resolution instead of window row/col size to display the image attachment 2019-05-20 13:48:14 +09:00
Luke Smith
46c796ef64
fatal breakage fixed 2019-05-16 13:59:09 -04:00
Kr1ss
49d2e12125
check if .gpg-id is in the pass store on startup
The current test  did not terminate  the script in cases  when the user
already has a private GPG key,  but they'd not initialized the password
store.
This leads to an infinite loop in the `getpass()` function.

The commit fixes https://github.com/LukeSmithxyz/mutt-wizard/issues/204
2019-05-15 20:19:55 +02:00
luukvbaal
15eeddc235
don't allow to be run concurrently with itself
This allows mailsync to be called like this `bindsym $mod+e exec --no-startup-id mailsync; exec $term -e neomutt && pkill -RTMIN+12 i3blocks` such that it refreshes your mail when you open mutt without it needlessly syncing if a sync is already running.
2019-05-13 12:46:03 +02:00
Kr1ss
c56b139614
mailsync: fix early exit on graphical(-only) login
Resolves https://github.com/LukeSmithxyz/mutt-wizard/issues/197.
2019-05-07 14:39:01 +02:00
Luke Smith
8e96c25903
gpg all variable 2019-05-05 09:37:30 -04:00
Stanko K.R
41c5040b6a
Add MacOS certificate store to search list 2019-05-04 22:47:26 +02:00
Stanko K.R
aaa188ce72
Relax pass store check
Checking for a secret key with format `<foo@bar.com>` may not work for
people that store key IDs in .gpg-id. Removing the `<` and `>` makes it
work for both beople that use emails and people that use IDs.
2019-05-04 22:47:20 +02:00
Stanko K.R
2b2f17f310
Prefix binary path correctly on MacOS 2019-05-04 22:47:01 +02:00
Luke Smith
c991d44878
gpg var 2019-05-04 15:33:43 -04:00
Luke Smith
c08b739a8a
protonmail fix? 2019-05-04 09:50:22 -04:00
Luke Smith
d33c893555
gpg double check 2019-05-04 09:50:15 -04:00
Luke Smith
a7ec4dae1f
n00buntu msmtp link 2019-05-02 19:21:53 -04:00
Luke Smith
b64c44e03e
barebones urlview conf added 2019-05-02 19:04:54 -04:00
Luke Smith
2ddfceb837
all pm domains fixed 2019-05-01 23:14:10 -04:00
Luke Smith
a4a9e8746f
msmtprc now separate variable 2019-05-01 21:02:17 -04:00
Luke Smith
9e2bde6f3c
approaching prontonmail fix 2019-05-01 20:59:58 -04:00
Luke Smith
123351045e
open files with mac 2019-05-01 20:37:12 -04:00
Luke Smith
ed6ed5854a
Merge pull request #186 from dmsalomon/mailsync-param
Mailsync: only pass -a to mbsync when no args
2019-05-01 19:54:24 -04:00
Luke Smith
be2c4c5baa
only sync if user logged in 2019-05-01 19:51:22 -04:00
Dov Salomon
cff2554231 Mailsync: only pass -a to mbsync when no args
If -a is passed along with "$@", mailsync will sync all mailboxes even
if only a single channel is passed in with "$@". This breaks the
semantics of the `o` macro in mutt which should only sync the current
mailbox that is currently being viewed in mutt.
2019-04-30 20:38:53 -04:00
Luke Smith
1995a68df4
cron check more liberal 2019-04-28 19:33:04 -04:00
Luke Smith
6faf22488c
to avoid user conflicts 2019-04-26 21:19:11 -04:00
Luke Smith
c2247a2188
maxmessages option 2019-04-26 20:56:50 -04:00
NinKenDo64
bf609ca894
Corrected grammar "be found" line 139 2019-04-27 09:26:57 +10:00
Luke Smith
98d4758b6b
bad idea 2019-04-26 18:14:28 -04:00
Luke Smith
942711e9da
du not portable 2019-04-26 12:14:20 -04:00
Luke Smith
eb51f388cd
fix junk rm 2019-04-26 12:12:03 -04:00
Luke Smith
f106dbd363
spell 2019-04-26 11:48:24 -04:00