]> git.pld-linux.org Git - packages/eventum.git/blame - eventum-router-postfix.sh
up to 3.1.9
[packages/eventum.git] / eventum-router-postfix.sh
CommitLineData
5ebce8d6 1#!/bin/sh
5ebce8d6
ER
2
3case "$1" in
62f3b4ea 4emails|emails\ *)
5ebce8d6
ER
5 TYPE="emails"
6 ARG="${1#* }"
7 ;;
8drafts|notes)
9 TYPE="$1"
10;;
11*)
12 echo >&2 "Invalid type: $1"
13 exit 78
14esac
15
16
5ac6b6ab 17exec /usr/share/eventum/bin/route_$TYPE.php "$ARG"
This page took 0.080368 seconds and 4 git commands to generate.