Am 2004-12-09 08:59:56, schrieb Jan Banan:
____( stdin )_________________________________________________________
/
| #!/bin/bash
|
| RET_SENDER=`cat $1 |formail -c -x Sender:`
| echo $RET_SENDER |grep "thelist-list-bounces(_at_)list(_dot_)com"
/dev/null 2>&1
| ES=$?
| if [ $ES == 0 ] ; then
| mv $1 $HOME/Maildir/.thelist/cur/
| fi
\______________________________________________________________________
That variable "ES" above never got set when I tried. I changed the
??? $ES is the Exit-Status of the last command executed, which is grep.
Best regards,
Jan
Greetings
Michelle
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail