about summary refs log tree commit diff stats
path: root/notmuch/default/hooks/pre-new
blob: 73df04695134d6b12dfcf0038909580ffc7bb308 (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/acdw/usr/scripts/syncmail