ma.wie...@gmail.com writes:
> I'm trying to synchronize my maildir right after mu4e touched a message on
> disk (such as after sending, moving, deleting or saving a draft) by calling
> mbsync.
Depending on your OS, you can use inotifywait from the inotify-tools package:
while inotifywait -e modify /path/to/maildir; do
mbsync
done
(or similar, haven’t used it in years)