* Filtering mail through a perl script
@ 1997-07-07 15:03 ekapvon
0 siblings, 0 replies; only message in thread
From: ekapvon @ 1997-07-07 15:03 UTC (permalink / raw)
To: tru64-unix-managers
Hi everybody,
I have a small problem .. in my aliases-file i have added=20
arsout:"|/tools/gnu/bin/perl /tmp/arsfilter.pl"
And now i want the perl-script arsfilter.pl to receive the mail sent to a=
rsout=20
as STDIN .
In the perl-script arsfilter.pl i've written :
=20
while(<STDIN>)
{
$theinmail[$i] =3D $_;
$i++;
}
but the script never seems to execute when i sen a mail with the command =
:
> mail arsout@somewhere.com < testmail
Have i done the right thing ?? and in that case what must i do to get my =
program=20
running.
The script works when i write :=20
> arsfilter < testmail
Regards ,
P=E4r von Zweigbergk
Ericsson Components AB=09
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-07-07 15:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-07 15:03 Filtering mail through a perl script ekapvon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox