Filter Shell Script....

Filter Shell Script....

Post by Michael Lauz » Thu, 09 Oct 1997 04:00:00



Does anyone know how to write a email filter for a Shell, if so can
someone write one for me and tell me how to use it...or point me in the
direction of one already written; you can email me here:


--
Michael
Free email address: http://www.hotmail.com/

'Eat, drink, and be merry, for tomorrow you may work.'

 
 
 

Filter Shell Script....

Post by James R. Mart » Fri, 10 Oct 1997 04:00:00


: Does anyone know how to write a email filter for a Shell, if so can
: someone write one for me and tell me how to use it...or point me in the
: direction of one already written; you can email me here:

Investigate "procmail" which may be either be downloaded free or
be already on your system.

ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/
http://www.ling.helsinki.fi/~reriksso/procmail/mini-faq.html # procmail FAQ

--
james martin
1120 ranchero way #11
san jose ca 95117


 
 
 

1. (Filtering || Shell script) question

Hi,

I have procmail set up on my system to sort all my messages in a nice,
handy, and logical manner in descriptive and aptly named folders.  I also
have nice, handy scripts at home that will download said folders to my
home computer.

My problem?

With all the mail being sent to different folders (other than the usual
/var/spool/mail/kegranro), I have no way of knowing when I have new mail
short of logging in and checking the folders!

So what I need (want) to know is a way for procmail (or similar program)
to automagically insert a message into, say, my .plan, telling of the
new messages.  With that, I would need only finger my account to see if
I have new mail... much easier then logging in needlessly.

Or maybe I'll need another script or program to handle that.  Say, one that
will check the size of a file on a timely basis and if the size changes,
put said message into said .plan.

What do you think?  Can it be done?  Easily?
--
                                   wWw
+-----------------------          (o o)        ------------------------+
|Kurt Granroth          \------ooO-(_)-Ooo-----\                       |
|Computer Science Major  \ Linux: The choice of \ Damn the torpedoes,  |

+----------------------------------------------------------------------+

2. Wanted: Senior Protocol Development Engineers (Cupertino, CA)

3. shell script being called by filter

4. How large can a file actually grow ?

5. shell script filters for lpr to append cr

6. Softver & Books Store - narucivanje softvera i knjiga

7. printing with a shell script as a filter

8. Help with a script

9. Using ELM filter and shell script as mail server

10. Shell script/filter Slack '96 error

11. handling SIGINT in shell scripts when executing another shell script.

12. Q: How can I have a shell script call another shell script...

13. Shell script invoking other shell scripts