Gossamer Forum
Home : General : Perl Programming :

how to..

Quote Reply
how to..
Hello all,

I would like to automaticly send a textfile back if someone's mailing to a special mailbox of mine.

I tried:
Code:
/username, |/opt/usr/username/autoreponder.txr
But it wont work, what am i doing wrong?
Quote Reply
Re: how to.. In reply to
First off, you need to do one of two things, either 1) Setup an email alias to the username, or 2) Setup a pop account for the username. Then you do one of the following to make sure the program is run, 1) setup a line in the aliases file to pipe email output to the program "| /path/to/autoresp.pl" or 2) do a similar thing in the .forward file of the account that is setup.

I personally do not know alot about the actual programming of autoresponders, its not something I have needed. However, I did setup a bi-directional email gateway which is packaged with the hypernews web forums program. What this program does is take input from an email message and post it into a web forum. That's an example of a use and setup for such a script.


------------------
Fred Hirsch
Web Consultant & Programmer