gitignore: Add some entries
[smailq.git] / sendmail
diff --git a/sendmail b/sendmail
deleted file mode 100755 (executable)
index 31cffc7..0000000
--- a/sendmail
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-# Copyright (c) 2013 Stefan Huber <shuber@sthu.org>
-
-set -e
-
-CMD="$(dirname $0)/smailq"
-options=
-list="0"
-
-usage() {
-    cat << EOF
-A wrapper script for smailq that behaves like sendmail. 
-
-USAGE:
-  $0 [OPTIONS] [recipient ...]
-  $0 --help  
-
-It simply calls '$CMD --send -- [OPTIONS] [recipient ...]'. In
-particular, it passes all options as MSA options to smailq.
-EOF
-}
-
-
-options=()
-while [ $# -gt "0" ]; do
-    if [ "$1" == "-bp" ]; then
-        list="1"
-    else
-        options+=("$1")
-    fi
-    shift
-done
-
-if [ "$list" = "1" ]; then
-    smailq --list
-else
-    smailq --send -- "${options[@]}"
-fi
-