Merge branch 'dev-3.5.4'
[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.029587 seconds and 3 git commands to generate.