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