João Lucas
3dc1ee678b
handle sync errors
- syncandnotify() aborts early if mbsync or mpop fails
- mailsync aborts early (exit code 1, before notmuch) if all syncs fail
há 6 meses
Luke Smith
b7b7f21d69
-x option fixed, fix #1014
há 1 ano
Luke Smith
0f9cf65e10
properly create imapnotify dir
há 1 ano
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.
há 1 ano
Luke Smith
943b45340c
Revert "fix #993"
This reverts commit 883e570d6d .
há 1 ano
Luke Smith
883e570d6d
fix #993
há 1 ano
Luke Smith
cfc06f891d
more robust mbsync check, close #956
há 1 ano
Luke Smith
31589ada92
use lmdb if available, close #950
há 1 ano
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%
há 1 ano
Jonas Dujava
8e35e474c5
Fix usages of mail/mails
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
há 1 ano
Jonas Dujava
43eceb5536
Fix notifications for mails with multiline subject
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
há 1 ano
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.
há 2 anos
ivan-boikov
f8ffab3a11
No mailsync with locked GPG key in non-interactive shells
há 2 anos
appeasementPolitik
532332b8df
Fix notify-send not coming through
há 2 anos
Jonas Dujava
8d78212cad
fix: reorder action
há 2 anos
Tomáš Faikl (astro)
268da5d51b
pipe password directly to pass
- also change slightly confusing naming for (re)inserting given
passwords to pass store
há 2 anos
Carlos Lobo
058fc42c21
Add goimapnotify for push notifications
há 3 anos
vohoanglong0107
202de3b954
switch msmtp log file to XDG_STATE_HOME
há 3 anos
Luke Smith
d3300a478d
simplification of decoding, show help on noopt
há 3 anos
Luke Smith
48ac83c07f
bring back ugly but functional cmds to get subject
fix #910
há 3 anos
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>
há 3 anos
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>
há 3 anos
Luke Smith
5c8b52fe38
help menu fix
há 3 anos
Luke Smith
f0ae1de9e1
mail notifications back, close #907 , fix #095
use MAILSYNC_MUTE variable, and non-silly
commands to derive $from and $subject
há 3 anos
Luke Smith
ef816c5c7e
offline mail cache fix and other tweaks
há 3 anos
Luke Smith
6e44eb5056
stupid fix and cli feedback
há 3 anos
Luke Smith
d890e0ea21
continue revision
há 3 anos
Luke Smith
37ba3b7b8d
use template files
há 3 anos
Luke Smith
234be769e8
deprecate -y and -Y, cleanup.
há 3 anos
Luke Smith
2a60bfb6d9
simplify mailsync, remove silly option passing
há 3 anos
AlexBocken
ab82cf359f
read-in env vars properly if dependent on XDG Standard
há 3 anos
Junicchi
bfa70c5242
read xorg displays from unix-domain socket if pgrep returns null
há 3 anos
Luke Smith
6b35770ca0
error messaging
há 3 anos
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>
há 3 anos
Karel Křemel
05b8300422
parse pop config only when file exists
há 3 anos
Luke Smith
60951ccbee
escape single quote in box, fix #880
há 3 anos
Luke Smith
607b44e221
leftover from bugtesting
há 3 anos
Luke Smith
c3f4ab8db0
better muting, suppress no mpop config, tabbing
há 3 anos
Parin Jasoliya
f723938a73
Add Support for POP3 Notification
há 3 anos
Wayne Reeves
d2a5d06d43
forgot escape on | to get variable; case condition s/no/mute/
há 3 anos
Wayne Reeves
b7f2bc0ff1
check for MAILSYNC_MUTE
há 3 anos
Luke Smith
36c87c512e
removed introduced bug, fix #861
há 3 anos
Luke Smith
0b9135142a
move msmtp cache and reorder prep
há 3 anos
Lokesh Mohanty
315069b5a2
pass: add feature to optionally add a prefix
há 3 anos
Luke Smith
30c1c0d2ae
fix #785 since cron now silent
há 3 anos
Luke Smith
caf2681891
remove bashism
há 3 anos
Luke Smith
ef5bac2b55
remove Protonmail support. POP server now -p
há 3 anos
jw
367c10ec3f
Silence mailsync, so cron doesn't spam e-mails on every update
há 3 anos
Luke Smith
72fcb51e24
remove harmless sed error msg if no muttrc
há 3 anos
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 .
há 3 anos