On 3/9/06, Josh Zlatin-Amishav <[EMAIL PROTECTED]> wrote: > On Wed, 8 Mar 2006, Hetz Ben Hamo wrote: > > > I can do a simple 2 line script to do this and put it in my crontab, > > but I'm looking for a better way that upon receiving the email by the > > Linux machime, that it should run my little script so it will feed the > > text directly and not after X minutes... > > Try using Procmail for that.
Or just define an aliases(5) file. The following is from the postfix site but it claims to support identical syntax: http://www.postfix.org/aliases.5.html I'd expect something like: aliasofyourpostingscript: |/usr/local/sbin/your-script To do the trick, but I don't have sendmail or postfix on my current machine to test this for you. Cheers, --Amos -- "I was being prosecuted for my beliefs.... I believed people wouldn't notice I'd sold them camels with plaster teeth until I was well out of town." - Terry Pratchett, "Pyramids" ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]