script question
From: Dan Pixley (danpixley_at_cox.REMOVEME.net)
Date: 10/17/03
- Next message: ixxe13: "Language in RedHat 9"
- Previous message: krusadr: "Re: boot linux under ... linux"
- Next in thread: Paul Lutus: "Re: script question"
- Reply: Paul Lutus: "Re: script question"
- Reply: Chris Cox: "Re: script question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 16 Oct 2003 17:42:08 -0700
Hello all. I am trying to come up with a script that will do some email
filtering for the Filters in Evolution (1.4). I'm using the option
'Pipe Message to Shell Command'. Here's my script:
#!/bin/bash
file=$1
if grep '(\[200\.*\.*\.*' $file >& /dev/null
then
exit 0
else
exit 1
fi
------------------------------------------------------
This doesn't work quite right, and am wondering how I properly pipe my
email messages in Evolution to this script.
Thanks,
Dan
- Next message: ixxe13: "Language in RedHat 9"
- Previous message: krusadr: "Re: boot linux under ... linux"
- Next in thread: Paul Lutus: "Re: script question"
- Reply: Paul Lutus: "Re: script question"
- Reply: Chris Cox: "Re: script question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|