I spy... with my eye... an email...

Synopsis

Ispy is a short perl script designed to be fed from postfix's always_bcc option. It lets you recieve copies of emails that match any regex pattern in the header in either mbox format or as MIME-encapsulated RFC822 attachments.

Short FAQ

I thought ispy was webcam software.
You were probably looking for http://www.ispy.nl/. This is completely different.

Why is this software being released anonymously?
To protect the guilty.

What is the license on it then?
It's released into the public domain. Do whatever you like with it, scribble your name on it, whatever.

So how am I supposed to contact the author?
Email im_reading_your_email@yahoo.com .

Will the author write back?
Probably not. However, if your suggestions make sense, fix bugs, or are otherwise useful, I'll probably include them.

I put this on the mail server at work and it broke it, then my boss found out about it and fired me.
Good for you. Maybe at your next job you'll test your changes before making them.

It looks like something that could have been cooked up in an hour or two!
Very perceptive.

Couldn't this cause a giant mail loop?
Yes. Be careful.

Download

1.0: http://www.oocities.org/im_reading_your_email/ispy-1.0.tar.gz (1073 bytes)

How to install

Format of /etc/ispy/watchfile

Two whitespace-separated fields per line. No comments are allowed yet.
First field: The additional recipient. If the first character is a letter or digit, it is interpreted as an email address to send a MIME-encapsulated copy of the message to. If the first character is a /, it is interpreted as a filename to append to.
Second field: A perl regular expression. For example, /^Subject:.*contract/ will match any message with the word "contract" in the subject line. /^From:.*yourbosses@emailaddress.com/ will match any email addressed from your boss.

Millions of evil overlords served.