1 # This is straight out of C News
4 # All this does is massage the headers so they look like what news
5 # software expects. To:, Cc: and Resent-*: headers are masked.
6 # Reply-To: is turned into references, which is questionable (could
7 # just as well be dropped.
9 # The From: line is rewritten to use the "address (comments)" form
10 # instead of "phrase <route>" form our mailer uses. Also, addresses
11 # with no "@domainname" are assumed to originate locally, and so are
14 # The Sender: field below reflects the address of the person who
15 # maintains our mailing lists. The Approved: field is in a special
16 # form, so that we can do bidirectional gatewaying. Any message
17 # in a newsgroup that bears this stamp will not be fed into the
18 # matching mailing list.
26 /^[Tt][Oo]:/s/^/Original-/
27 /^[Cc][Cc]:/s/^/Original-/
28 /^[Rr][Ee][Ss][Ee][Nn][Tt]-.*/s/^/Original-/
29 /^[Mm][Ee][Ss][Ss][Aa][Gg][Ee]-[Ii][Dd]:/s/@/.alt.buddha.fat.short.guy@/
30 s/^[Ii]n-[Rr]eply-[Tt]o:/References:/
32 s/<\([^@]*\)>$/<\1@$thissite>/
33 s/^From:[ ][ ]*\(.*\) *<\(.*\)>$/From: \2 (\1)/
36 s/^[Ss][Uu][Bb][Jj][Ee][Cc][Tt]:[ ]*$/Subject: (none)/
37 s/^\([^:]*:\)[ ]*/\1 /
39 Newsgroups: alt.buddha.short.fat.guy\
41 Sender: news@cygnus.com\
42 Approved: alt.buddha.short.fat.guy@cygnus.com