chiark
/
gitweb
/
~mdw
/
newsgate
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
inject: Only insert an Approved header if one was requested.
[newsgate]
/
bin
/
post
diff --git
a/bin/post
b/bin/post
index 43e5f32f6b61853d46213676e822ef63474eb0cc..3ca4520de710c3d3021a054e4c39c02059d1038c 100755
(executable)
--- a/
bin/post
+++ b/
bin/post
@@
-8,4
+8,4
@@
tag=$1
entry=`cdb -q groups.cdb "t:$tag"` || bad "unknown tag $tag"
set -- $entry
case "$SENDER" in $4) ;; *) bad "incorrect sender $SENDER" ;; esac
-exec bin/inject mail.$2
+exec bin/inject
-a newsgate@distorted.org.uk
mail.$2