I'm using procmail v3.10 to process incoming submissions to a moderated
*newsgroup*.
I'm having procmail generate submission receipt replies as follows:
:0 h c
* !^FROM_MAILER
* !^X-Loop: tcl-announce(_at_)mitchell(_dot_)org
* !^Keywords:.*ignore
| (formail -r \
-I"Subject: Submission Acknowledgement" \
-I"From: Tcl Submission <tcl-announce(_at_)mitchell(_dot_)org>" \
-I"Errors-To: tcl-announce-request(_at_)mitchell(_dot_)org" \
-i"Received:" \
-A"Precedence: junk" \
-A"X-Loop: tcl-announce(_at_)mitchell(_dot_)org" ; \
echo "==========\nFrom:\t\t$fromWhom\nDate:\t\t$sentDate\nNewgroups:\t$newsgr
oups\nSubject:\t$subject\n==========" ; \
cat /home/tcl-announce/canned/ack ) | \
$SENDMAIL -t
Unfortunately, submissions via news are having their replies go to the news
system rather than the original poster (which is bad :-).
Note that the '$fromWhom' is generated via fromWhom=`formail -xFrom:` and
it seems to come up with the correct entity.
I've read the man page about the '-t' option to formail but I didn't use it
because my usual stance is to *not* 'trust' the user. :-) Should I just
shut up and use the '-t' option or what?
Thanks,
John