~mdw
/
newsgate
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mail: Send mail with the correct envelope sender.
[newsgate]
/
bin
/
mail
diff --git
a/bin/mail
b/bin/mail
index
6ef138d
..
afcc0d8
100755
(executable)
--- a/
bin/mail
+++ b/
bin/mail
@@
-12,4
+12,4
@@
set -- $entry
sed -n ":top; /^$/,\$ b ok
/^[Tt][Oo]: / ! b ok; :loop; n; /^ / b loop; b top
:ok; p"; } |
-qmail-inject -a -f$USER-$1@
`cat $QMAIL/control/me`
$3
+qmail-inject -a -f$USER-$1@
$(control defaulthost "$me")
$3