: Can anyone give me a quick procmail script that will remove any sender
: information (from, etc...) and for the resulting message to an alias? I
do you mean "and forward" the resulting ...?
: want to offer my company a e-mail address where that can submit compaints
: anonymously and want to prove to them that it is anonymous. Thanks for any
How about the following:
| formail -I From -I Return-Path -I Reply-to -I Sender -I Resent \
-I Message-id -I Received -I X- -I Date -I Status -I To -I cc
This recipe will remove all kinds of headers which might be identifying
marks of the sender (e.g., Received, or Message-Id, which typically
include the sending system name).
The other thing, of course, is that you have to turn off mail logging
on the system where this thing is happening -- so that there won't
be a bunch of messages like
Mar 15 08:29:04 hostname sendmail[pid]: xxxx: to="|IFS+' '&&exec /usr/local/bin/procmail -f- ||exit 75 #anonymous.complaints", delay=xx:xx, xdelay=yy:yy, mailer=prog, stat=Sent
Mar 15 08:29:10 hostname sendmail[pid]: xxxx: done
Mar 15 08:29:11 hostname sendmail[pid]: xxxy: from=<anonymous.complaints>, size=xxxx, class=x, pri=x, nrcpts=1, msgid=<xxx>, proto=SMTP, relay=anonymous.complaints
by which a nosy person might correlate ID xxxy with xxxx since they were
processed at just about the same time, etc., and therefore decide that
a message xxxy was a repackaging of the message from mortimer.snerd received
11 seconds earlier....
i hope this is helpful
the above is not a statement of my employer, etc.