On 12/14/03 16:05 -0500, Joe Szilagyi wrote: > Hello, > > I'm stuck on a small procmail problem. I need to take all mail sent from a > certain address and rather heavily edit it with shell (thought about > formail, but it's easier for me to do it all in shell). The problem is that > I get the original copy of the mail, after procmail runs this fine: > > :0c > * ^From:.*user@xxxxxxxxxxxxxx > | cat >> /home/myuser/mailoutput ; \ bin/sh /home/myuser/EditMail.sh I do this to strip out unwanted text in the subject line: :0fw * ^TO_kde-linux | sed -e '/Subject:/s/\[kde-linux\] //g' # Only if the above succeeded :0a: KDE-linux The key is the :0fw invocation. See man procmailrc John -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list