The Automated Response Responder
February 6th
I’m sick of getting automated responses, I just don’t see the point. I don’t need an email telling me what I just did 2 minutes ago. Yes, I know, I was there too. So to that end I’ve invented the Automated Response Responder. That’ll teach the bastards.
First off, a few cautions: This is a bad idea, people don’t like it when you respond to their automated responses, if they even notice at all. However, this was — for me — more of an art project in the vein of Caleb Larson’s A Tool To Deceive And Slaughter (A sculpture that continually lists itself on eBay) than any real programming exercise. And now, on to the project itself.
You’re going to need Procmail for this. Procmail can be used to create mail-servers, mailing lists, sort your incoming mail into separate folders/files, preprocess your mail, start any programs upon mail arrival or selectively forward certain incoming mail automatically to someone. Today we’ll be focusing on some variation of that last one. Now, you’re going to need to install and set-up Procmail yourself (have I mentioned yet that it’s a command line tool?), I recommend Nancy McGough’s excellent Procmail Quick Start. Once you’ve gotten that done you can get to my Procmail ‘recipe’.
:0 check1 = "automated e-mail" check2 = "automated email" check3 = "automated notice" check4 = "automated message" *$ ! ^$MYXLOOP * B ?? check1|check2|check3|check4 | (echo "From: you@domain.com" ; $FORMAIL -r -A"Precedence: junk" -A"X-Loop: you@domain.com" ; echo "This is an automated response in reply to your automated response.\n Please do not respond to this automated response.\n Thank you.\n" ) | $SENDMAIL
Obviously, the first thing you’re going to want to do here is to replace you@domain.com with your actual email address (on both occasions).
The actual code is quite simple. As you can see above, I have set up checks for the most common wordings in the body of automated emails I have received, you can add, remove, or change as you wish. The next part — *$ ! ^$MYXLOOP — makes sure we’re not setting up an infinite loop here. The line after — * B ?? check1|check2|check3|check4 — simply cycles through the strings provided above and if any of them match sends the message:
This is an automated response in reply to your automated response.
Please do not respond to this automated response.
Thank you.





