Reworded expired account email. Club rep accounts can be renewed for free (as usual).
[mspang/pyceo.git] / etc / spam / expired-account
1 #!/bin/sh
2
3 name=$1
4 email=$2
5 shift 2
6
7 tmp="$(tempfile)"
8 trap "rm $tmp" 0
9 exec >"$tmp"
10
11 echo "From: Computer Science Club <ceo+expired@csclub.uwaterloo.ca>"
12 echo "Reply-to: CSClub Exec <exec@csclub.uwaterloo.ca>"
13 echo "To: $name <$email>"
14 echo "Subject: [CSClub] Account Expiration"
15 echo ""
16 echo "Hello,
17
18 We noticed that your Computer Science Club membership has expired. We would
19 like to remind you of the many benefits of being a member of the club:
20
21 * 4 GiB of disk quota
22 * Web space
23 * Email address
24 * Shell account
25 * Access to our library
26
27 If you would like to renew your membership the fee is \$2 per term; club rep
28 accounts may be renewed for free. You may use one of the following methods to
29 pay the renewal fee:
30
31 * Come by our office (MC 3036)
32 * Send us a PayPal donation and send us the transaction id; see
33     http://csclub.uwaterloo.ca/about/donations for details
34 * Mail us a cheque; here's our address:
35     Computer Science Club
36     Math & Computer 3036/3037
37     University of Waterloo
38     200 University Avenue West
39     Waterloo, ON  N3L 3G1
40     Canada
41
42 If you have any questions, feel free to contact us by phone at
43 (519) 888-4567 x33870, or by email at exec@csclub.uwaterloo.ca.
44
45 Regards,
46
47 The Computer Science Club"
48
49 exec >&- 2>&-
50 /usr/sbin/sendmail -t -f "ceo@csclub.uwaterloo.ca" < "$tmp"