diff options
Diffstat (limited to 'digest-mailer.in')
-rw-r--r-- | digest-mailer.in | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/digest-mailer.in b/digest-mailer.in new file mode 100644 index 0000000..4e88494 --- /dev/null +++ b/digest-mailer.in @@ -0,0 +1,35 @@ +#!/bin/bash + +verwendung() { + >&2 echo 'digest-mailer collects emails into digests before sending them.' + >&2 echo '' + >&2 echo 'Usage: digest-mailer [OPTIONS]' + >&2 echo \ +'#HELPTEXT# #' + exit 1 +} + +if [ "x$1" = 'x--help' ]; then + verwendung +fi + +if [ "x$1" = 'x--version' ]; then + echo '#VERSION#' + exit +fi + +if [ $# -ne 0 ]; then + verwendung +fi + +min_delay=3600 +max_delay=3600 +agressivity=0 +mail_cmd='sendmail -t' + +if [ -r #ETCDIR#/digest-mailer.conf ] +then + . #ETCDIR#/digest-mailer.conf +fi + +#TODO |