blob: 443e3f227d7e9b87899b73661f8122e92384f647 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env bash
# Notmuch pre-new hook
# This hook is invoked by the new command before scanning or im‐
# porting new messages into the database. If this hook exits with
# a non-zero status, notmuch will abort further processing of the
# new command.
# Typically this hook is used for fetching or delivering new mail
# to be imported into the database.
# TODO: In notmuch v0.35, the location of this hook becomes configurable.
# When I have that installed, I want to move this to ~/.config/notmuch.
/home/case/usr/scripts/syncmail
|