Quote:
|
Originally Posted by Jack
Hey all,
I've tried to google arroud on the internet for an answer to this one, but I haven't seemed to find an answer.
Here's what I'm looking to do. (FYI.. this is a *nix system).
I'd like to have a script run whenever an email to a certian address is receaved. My getto solution right now is to have a cron tab set up to run a script to check for new emails every few minutes. However, if there is a way possible, I'd much rather have the script only run when an email arrives as opposed to running it every few minutes.
I'm not exactly sure of the mail server specs, but if that's important, I can get them.
I'd figure something like this has to be possible, after all auto-responders are sent whenever new mail is receaved, but in my case I don't want to send an email back, I want to execute a script of mine.
Thanks,
Jack
|
You really can only do that if you can run a program that checks, so you would need to ask your server to run a program, or run a program on a computer that you control, but make sure its always on.