AARGH Another AutoResponder Gone Haywire Version 1.0 This is another program to set up an auto response system using procmail. The general idea is this: You know someone is going to send you a message, and you want to send them back a response as soon as their message arrives. Alternately, you want to send the equivelent of a return receipt to a particular person. aargh will set up procmail to watch for incoming mail from a particular person, and as soon as any arrives, send them off the response you tell it to. HOW TO SET IT UP Aargh wants to have its own configuration file (user specific) as well as a directory to keep responses. If neither /etc/aargh.conf nor ./aargh.conf are present, it will look at /etc/passwd for the users home directory. If you do not want to put aarghs configuration files in the users home directory by default, you will need to create a conf file and put it in /etc/aargh.conf. A sample file is below. Do not replace $USER with a sample user directory, I look for that string. USER_HOME_DIR /usr/home/$USER/ USER_AUTORESPONCE_CONF_FILE /usr/home/$USER/yayAargh/.aargh.conf USER_AUTORESPOND_DIR /usr/home/$USER/yayAargh/.aargh.dir SENDMAIL_PATH /opt/sbin/sendmail Other than that, just put it in a bin directory, and have at it! HOW TO USE IT Run aargh, and it will ask you a few questions, then modify .procmailrc and its own file in its directory, and you will be set. It is required that you have procmail enabled and running. I will not go into how to install procmail. The two ways of doing so are to have it as your default delivery agent, or to invoke it through your delivery agent. The second is more common, and it is done by creating a .forward file in your home directory, and put "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #username" in it (include the quotes!). FUTURE IMPROVEMENTS * Impliment macros in the response, such as respondant name, time, etc. This will allow for much more flexible responses. * Allow for attachments to the e-mail you are sending. FILES /usr/local/bin/aargh /etc/aargh.conf ~/.aargh.conf (configurable location) ~/.aargh (configurable location) MISC Design by moons@clan-io.net, code by Ben Hartshorne, ben-aargh@adphi.loyalty.org. Please send all bugs, comments, suggestions to Ben. Copyright 1999, Ben Hartshorne This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.