SOURCES: eventum-router-postfix.sh (NEW) - script aiding postfix b...

glen glen at pld-linux.org
Sat Feb 11 06:49:27 CET 2006


Author: glen                         Date: Sat Feb 11 05:49:27 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- script aiding postfix based mail routing

---- Files affected:
SOURCES:
   eventum-router-postfix.sh (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/eventum-router-postfix.sh
diff -u /dev/null SOURCES/eventum-router-postfix.sh:1.1
--- /dev/null	Sat Feb 11 06:49:27 2006
+++ SOURCES/eventum-router-postfix.sh	Sat Feb 11 06:49:22 2006
@@ -0,0 +1,18 @@
+#!/bin/sh
+# $Id$
+
+case "$1" in
+emails\ *)
+	TYPE="emails"
+	ARG="${1#* }"
+	;;
+drafts|notes)
+	TYPE="$1"
+;;
+*)
+	echo >&2 "Invalid type: $1"
+	exit 78
+esac
+
+
+exec /usr/share/eventum/route_$TYPE.php $ARG
================================================================


More information about the pld-cvs-commit mailing list