Re: How to pipe a mail message into a program

1999-01-17 Thread Alan Mead
At 03:27 PM 11/19/99 -0500, Ward William E PHDN wrote: >doing it in Perl. Problem is, I've forgotten how to set the .forward to >pipe my incoming email message to the program. For testing, I'd actually I don't know syntax to do this in a .forward. You should be able to use procmail or use an

Re: How to pipe a mail message into a program

1999-01-17 Thread Charles Galpin
if you can modify the alias in sendmail for this email address, this should get you started. #!/usr/bin/perl # mailbot.pl $debug =1; #invoked from /etc/aliases like this #mailbot:[EMAIL PROTECTED], "|/home/cgalpin/bin/mailbot.pl" open (LOG, ">/tmp/mailbot.log" ) if $debug; print LOG "Got M

How to pipe a mail message into a program

1999-01-17 Thread Ward William E PHDN
Ok, I give up, unless no one here knows how to do it (and I know there are probably 100 or more that know how...) I need someone to jog me elbow (yes, I used to know how to do this a few years back, but have forgotten... of course, I've never done it in Linux at all, just Unix). Here's the probl