WkWyW.net Web Hosting, Services and Software

Auto-Responder

The WkWyW.net local delivery agent for Emails is procmail, one of the features available with this agent is to set an 'Autoresponder' Email when a visitor or customer makes a submission from your web site forms. This service is free to all customers and can be set up by following the procedure described below.

How to Set Up an Autoresponder

A script is required and should be saved as a file named .procmailrc in your web space home directory (create this file if it does not exist). In this script you need to change @domain.com to your domain and "user" to the username you are working with. The .procmailrc can first be a .txt file and the script can be copied and pasted into the .txt file. When the file is placed in your web home directory it can be renamed .procmailrc.

Create a directory called autoresponses in your home directory to hold the text file that will form the body of your autoresponse. Create a text file with the response you want to send and save this file as response.txt in the autoresponses directory.

The script to create an autoresponder for user@domain.com, is shown below and should be placed in the file called .procmailrc in the user.domain.com home directory:

SHELL=/bin/sh
LOGFILE=$HOME/logs/.procmail-log
VERBOSE=off

:0 hc
* ^TOuser@domain.com
* !^FROM_DAEMON
* !^X-Loop: user@domain.com
| (formail -rtb -I"Precedence: junk" \
-I"From: " \
-A"X-Loop: user@domain.com"; \
cat $HOME/autoresponses/response.txt \
) | $SENDMAIL -oi -t
:0 A:
$DEFAULT

For customers that would like this service included in their package but are not familar with the process to perform the tasks detailed above the WkWyW.net team will do this for you at a nominal cost, please complete the form on the contacts page and submit it to Sales Department. There is also additional details and information on this facility on the WkWyW.net Support Forum.