chiark
/
gitweb
/
~mdw
/
newsgate
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
43e5f32f6b61853d46213676e822ef63474eb0cc
[newsgate]
/
bin
/
post
1
#! /bin/sh
2
3
set -e
4
. defs
5
6
[ $# = 1 ] || fail "usage: $0 TAG"
7
tag=$1
8
entry=`cdb -q groups.cdb "t:$tag"` || bad "unknown tag $tag"
9
set -- $entry
10
case "$SENDER" in $4) ;; *) bad "incorrect sender $SENDER" ;; esac
11
exec bin/inject mail.$2