An easy way to distribute information about your company to your potential clientele is to set up an e-mail autoreply, or autoresponder. An e-mail autoreply is an E-Mail Alias which executes a program that automatically replies to any e-mail sent to it. The e-mail autoreply can be configured to send any message in the automated reply, such as a FAQ, marketing plan, or product listing.

Installation

To install the e-mail autoreply program, connect to your Virtual Private Server via Telnet or SSH and issue the following command.

% vinstall autoreply

Configuration

Follow these steps to configure an autoreply.

  1. Create an autoreply message called ~/.autoreply (the message sent back to the customer) in your Virtual Private Server home directory. Use an online file editor, like pico, or transfer the file to your PC in order to add the alias. Be sure to download and upload the ~/.autoreply file in ASCII mode.

  2. Add something like the following to your ~/etc/aliases file in order to create an autoreply for info@YOUR-DOMAIN.NAME:

    info: YOU@YOUR.ISP, "|/usr/bin/autoreply -f info-reply -a info"
  3. Run vnewaliases to update your etc/aliases.db file.

    % vnewaliases

When e-mail is received at info@YOUR-DOMAIN.NAME, an autoreply containing the message in the ~/.autoreply file will be sent back. E-Mail sent to info@YOUR-DOMAIN_NAME will also be sent to YOU@YOUR.ISP. Without the YOU@YOUR.ISP, the mail from the customer would not be sent to YOU@YOUR.ISP.

The -m option specifies a different message file (for example, autoreply -m /etc/mymessage). Be sure you use the full path from your Virtual Private Server home directory.

The -f option allows you to change who the autoreply message will be from (in the example above the From: field the customer gets will read info-reply@YOUR-DOMAIN_NAME).

The -a option specifies a user that an autoreply can reply for. The user specified should be the same as the user configured for the autoreply (for example, "info: ... -a info").

The -h option can be added to an autoreply to turn off the X-info headers (if you don't know what these are, don't wory about them).

NOTE: If you are creating an autoreply in your ~/etc/virtmaps file for a Virtual Subhost E-Mail Account, the username after the -a should be the e-mail alias in the virtmaps file as well, not the e-mail alias in the ~/etc/aliases file.

Please note: the information on this page applies to ITS web hosting plans. It may or may not apply to other environments. If you are looking for a feature described here, or better support from your hosting provider, please consider hosting your site with ITS!

1555 N Naperville/Wheaton Road, Suite 107
Naperville, IL 60563
phone 630.420.2550
fax 630.420.2771