chiark / gitweb /
Make noack honoured for approvals too
[modbot-mtm.git] / stump / bin / send_pgp_key
1 #!/bin/bash
2
3 set -e
4 set -o pipefail
5
6 (
7   formail -r -I "Subject: $NEWSGROUP Approval PGP Key"  \
8           -I "Reply-To: devnull@algebra.com"            \
9           -I "Errors-To: devnull@algebra.com"
10
11   cat << _EOB_
12 Hello,
13
14 Thank you for requesting PGP Public Key used to sign submissions to
15 soc.culture.russian.moderated newsgroup. Please use PGP Moose scripts
16 to verify integrity of robomod's signatures on your news articles and
17 report any articles that fail verification to scrm-admin@algebra.com.
18
19 Thanks,
20
21         - Your Friendly $NEWSGROUP Robomoderator.
22
23 _EOB_
24   cat $MNG_ROOT/approval.key.txt
25 ) | /usr/sbin/sendmail -t