|
||||
eric 73452.452@compuserve.com susan susan.simpson@mci.com kim goddess@afterlife.com hellllp 73452.452@compuserve.com root@instant-answers.net john john default crazy@bob.com This would redirect mail for eric@yourdomain.com to 73452.452@compuserve.com,
etc. Mail for john@yourdomain.com would go to the john account on your
system (Yes, write it in: it is not redundant!) Please note that your 'home directory' is not your web directory. It takes the format /usr/home/mainuser where you replace 'mainuser' with your 'main user'. Mail to a user that was not in this list would be sent to the default user, crazy@bob.com. You are encouraged to have a default entry, if just to be sure you don't lose mail due to any other mistakes. 1.3) Autoresponders Create a file in your home directory named 'help' which says: "We offer you help." Mail to 'help@yourdomain.com' will return the message "We offer you help". This will only work if you have a '.redirect' file active. Autoresponder files should not have upper case letters in them. 1.4) Daily Stats To install daily E-mailed stats for yourself or a customer, follow these simple instructions. Create a file named 'mycron'. In this file, you will make an entry similar to this one : 5 4 * * * /www/cgi-bin/stats flintstones fred@flintstones.com You HAVE to change certain fields. The first two digits NEED to be changed. The second digit (4) is the hour at which the E-mail is to be sent, the first digit (5) is the minute in that hour. Make sure to hit <return> after your entry. If you would change the entry to : 55 5 * * * /www/cgi-bin/stats flintstones fred@flintstones.com The E-mail would be sent at 5:55 AM. The first example would be mailed at 4:05AM. Pick any time between 1:00 AM and 5:55 AM. Next, you need to modify the field 'flintstones'. Replace this with the domain for which you wish to generate stats. If your domain name is 'domain.com', or 'domain.net' (basically domain.xxx), simply enter 'domain' where it now reads 'flintstones'. Do not add '.com' or any similar extensions. The last field 'fred@flintstones.com' is the E-mail address you wish to send the daily stats to. Modify it to reflect the E-mail address you want. Now, upload this file (in ASCII mode) to your login directory and type the following command : crontab /usr/home/fred/mycron Be sure to replace 'fred' with your userid. To be sure all is fine, you can type : crontab -l This should have a header followed by your entry line. May we suggest that you send E-mail to your customers using their own userid. If you choose not to do this and have them sent from your own id, simply repeat the above steps and place the second entry on the next line of the 'mycron' file. Be sure to change the time at which to send the E-mail. |