Welcome to WebmasterWorld Guest from 54.160.177.33

Forum Moderators: phranque

Message Too Old, No Replies

Unix Email : Vacation, Forwarding questions.

     
7:14 pm on Aug 8, 2000 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
posts:38048
votes: 12


I know there is someway you can get a shell script to activate when email arrives. How? I know it is done through the .forward or .vacation file. How?
7:21 pm on Aug 8, 2000 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 10, 2000
posts:2151
votes: 0


What exactly are you trying to do?
5:50 am on Aug 9, 2000 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
posts:38048
votes: 12


There is an email 'server' to offer web mail that works by intercepting the .forward file via a shell script. I got to thinking this would be very handy for auto-responders, and other stuff (like emailing posts right to the board here).

I need to be able to intercept the email when as arrives and then go dig it out of the inbox. The only step I don't know is how to snag the inbound mail on-the-fly from a activated shell script. I know there is a way to do it.

6:54 pm on Aug 10, 2000 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
posts:38048
votes: 12


I found the answer. And with most things Unix, it was simple. Just place the script path in the .forward file you wish to activate. It always helps if you read the man page. (I didn't know there was one for forward)