Pontus Karlsson
df69b30e61
fix: `head` incompatibility between GNU and macOS
9 months ago
Luke Smith
b7b7f21d69
-x option fixed, fix #1014
1 year ago
Luke Smith
0f9cf65e10
properly create imapnotify dir
1 year ago
Adrien Czerny
d0dfcc3c27
Fix unary operator expected error
On my system running any `mw` command after a fresh install from the AUR, I get:
```
/usr/bin/mw: line 37: [: 1.5: unary operator expected
```
Now the script doesn't error per-se but it does set the `master` and `slave`
variables to wrong values. I'm also not sure how this wasn't raised before;
maybe that's a new bash version thing? I'm on 5.2.37.
Anyway I faffed around trying to fix this, in particular with the `-gt` operator
but it turned out that properly comparing float numbers is a pain in the butt in
bash. I found solutions using `bc` which I thought were weird.
To keep things simple I ended up doing a little substitution on the dot `.`
character and turned these nasty floats into integers, along with using the
`-gt` operator which did the trick on my system. May be unorthodox so feedback
is more than welcome.
Thank you for the great software by the way, lots of gratitude for your work.
1 year ago
Luke Smith
943b45340c
Revert "fix #993"
This reverts commit 883e570d6d .
1 year ago
Luke Smith
883e570d6d
fix #993
1 year ago
Luke Smith
cfc06f891d
more robust mbsync check, close #956
1 year ago
Luke Smith
31589ada92
use lmdb if available, close #950
1 year ago
Yaroslav Chvanov
824feedc68
fix(mailsync): delimit notification text from flags
Fixes text being interpreted as flags when it starts with a dash.
Try sending yourself a letter with subject starting with '-'.
E.g. if subject is '-10%' fixes error:
> Unknown option -10%
1 year ago
Jonas Dujava
8e35e474c5
Fix usages of mail/mails
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
1 year ago
Jonas Dujava
43eceb5536
Fix notifications for mails with multiline subject
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
1 year ago
speedie
11e54213dd
Don't prompt for password, if the email address already has a saved
password. This is useful if you copy your .password-store
directory from one computer to another.
2 years ago
ivan-boikov
f8ffab3a11
No mailsync with locked GPG key in non-interactive shells
2 years ago
appeasementPolitik
532332b8df
Fix notify-send not coming through
2 years ago
Jonas Dujava
8d78212cad
fix: reorder action
2 years ago
Tomáš Faikl (astro)
268da5d51b
pipe password directly to pass
- also change slightly confusing naming for (re)inserting given
passwords to pass store
2 years ago
Carlos Lobo
058fc42c21
Add goimapnotify for push notifications
3 years ago
vohoanglong0107
202de3b954
switch msmtp log file to XDG_STATE_HOME
3 years ago
Luke Smith
d3300a478d
simplification of decoding, show help on noopt
3 years ago
Luke Smith
48ac83c07f
bring back ugly but functional cmds to get subject
fix #910
3 years ago
shane.xb.qian
7de48da554
fix: displays fallback of default looks should be ':0'
// solution: changed from '0:' to ':0'
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
3 years ago
shane.xb.qian
6abab8f906
fix: mailsync looks no '-q' parameter or made it fail
// solution: remove '-q'
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
3 years ago
Luke Smith
5c8b52fe38
help menu fix
3 years ago
Luke Smith
f0ae1de9e1
mail notifications back, close #907 , fix #095
use MAILSYNC_MUTE variable, and non-silly
commands to derive $from and $subject
3 years ago
Luke Smith
ef816c5c7e
offline mail cache fix and other tweaks
3 years ago
Luke Smith
6e44eb5056
stupid fix and cli feedback
3 years ago
Luke Smith
d890e0ea21
continue revision
3 years ago
Luke Smith
37ba3b7b8d
use template files
3 years ago
Luke Smith
234be769e8
deprecate -y and -Y, cleanup.
3 years ago
Luke Smith
2a60bfb6d9
simplify mailsync, remove silly option passing
3 years ago
AlexBocken
ab82cf359f
read-in env vars properly if dependent on XDG Standard
3 years ago
Junicchi
bfa70c5242
read xorg displays from unix-domain socket if pgrep returns null
3 years ago
Luke Smith
6b35770ca0
error messaging
3 years ago
shane.xb.qian
f6b5806af9
fix: make o and O macro work and really sync multiple/individual accounts
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
3 years ago
Karel Křemel
05b8300422
parse pop config only when file exists
3 years ago
Luke Smith
60951ccbee
escape single quote in box, fix #880
3 years ago
Luke Smith
607b44e221
leftover from bugtesting
3 years ago
Luke Smith
c3f4ab8db0
better muting, suppress no mpop config, tabbing
3 years ago
Parin Jasoliya
f723938a73
Add Support for POP3 Notification
3 years ago
Wayne Reeves
d2a5d06d43
forgot escape on | to get variable; case condition s/no/mute/
3 years ago
Wayne Reeves
b7f2bc0ff1
check for MAILSYNC_MUTE
3 years ago
Luke Smith
36c87c512e
removed introduced bug, fix #861
3 years ago
Luke Smith
0b9135142a
move msmtp cache and reorder prep
3 years ago
Lokesh Mohanty
315069b5a2
pass: add feature to optionally add a prefix
3 years ago
Luke Smith
30c1c0d2ae
fix #785 since cron now silent
3 years ago
Luke Smith
caf2681891
remove bashism
3 years ago
Luke Smith
ef5bac2b55
remove Protonmail support. POP server now -p
3 years ago
jw
367c10ec3f
Silence mailsync, so cron doesn't spam e-mails on every update
3 years ago
Luke Smith
72fcb51e24
remove harmless sed error msg if no muttrc
3 years ago
f380cedric
3a2f4a55fa
Fix: find & case-insensitive filesystem
On case-insensitive filesystem,
`inbox` and `Inbox` are the same path.
Running `find Inbox inbox [expr]` will print twice the same information.
Use shell glob instead:
`find` will descend into path `inbox`,
ignoring letter cases, only once.
Fix #828 .
3 years ago