On Sat, 2 May 1998 14:25:42 +0200 (CEST), "Harry M. Jensen"
<harry(_dot_)mj(_at_)get2net(_dot_)dk> wrote:
Does someone have hint on how I can take the "from address" in a reieved
e-mail, and send a note to another e-mail address that an e-mail is
recieved from the "from address" ??
Probably.
/* era */
Oh, you want to know how?
:0chi
* ! ^X-Loop: harry\(_dot_)mj(_at_)get2net\(_dot_)dk
* ^From:[ ]*\/[^ ].*
| ( echo "To: otheraddress(_at_)elsewhere(_dot_)net" ; \
echo "X-Loop: harry(_dot_)mj(_at_)get2net(_dot_)dk" ; \
echo "Subject: You have mail from $MATCH" ) \
| $SENDMAIL $SENDMAILFLAGS -t
Perhaps you should check that you don't report back on mail from
otheraddress(_at_)elsewhere(_dot_)net in addition to the X-Loop checking.
Excluding ^FROM_DAEMON mail might also be a good idea.
--
Paparazzi of the Net: No matter what you do to protect your privacy,
they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>