Quote:
Originally posted by fastforward
You couldn't use it as is, but it wouldn't be too hard to modify.
|
Before you came out with this hack, I was planning on writing my own email <-> forum thing anyways... but no point in reinventing the wheel if yours does most of what I need. I haven't look at your script to see if it's what I need yet.
Anyways, for the mail to be processed by the script, it's pretty easy to do on *nix systems with sendmail. Just make an alias in the aliases file that calls the program like:
Code:
forumlist: "|/path/to/script.pl"
Then the email to forumlist@whatever.com will be passed to the script as STDIN.
Then the path is /path/to/script.pl, but in a lot of systems a security measure is taken so that not just any program can be executed from an alias, so a link in the /etc/smrsh directory to the script needs to be made.