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