aboutsummaryrefslogtreecommitdiffstats
path: root/dist-tools/send-security-announce.sh
blob: d7da5fbb027fc5b9485b6c7dfb8f6af39d0a35b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
test "$SEND_ANNOUNCEMENTS" = doit || { echo "read the source, luke! -> $0" ; cat "$0" ; exit 1 ; }

ANN=fetchmail-SA-2010-01
FILE=$HOME/VCS-mine/fetchmail.git/$ANN.txt
test -r $FILE || { echo "Cannot find $FILE." ; exit 1 ; }
CVE=$(sed -n '/^CVE Name:/ { s/^.*:[ 	]*//p;q; }' $FILE)
SUBJECT="fetchmail security announcement $ANN ($CVE)"
MAILER=mail

$MAILER -r ma+bt@dt.e-technik.uni-dortmund.de -s "$SUBJECT" <$FILE \
    bugtraq@securityfocus.com

$MAILER -r matthias.andree@gmx.de -s "$SUBJECT" <$FILE \
    vendor-sec@lst.de \
    fetchmail-announce@lists.berlios.de