4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] xfilter question
FromSent OnAttachments
Chris PetersenMar 4, 2005 10:18 am 
Devin RubiaMar 4, 2005 10:41 am 
Chris PetersenMar 7, 2005 10:31 am 
Devin RubiaMar 8, 2005 10:58 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] xfilter questionActions...
From:Chris Petersen (lis@forevermore.net)
Date:Mar 7, 2005 10:31:12 am
List:net.sourceforge.lists.courier-maildrop

You don't want xfilter, you want cc.

Since you want to trap errors, use an exception:

exception { cc "| /local/bin/somescript" }

cc will set $EXITCODE for you when sending to a program so you can still parse on it.

So just to clarify, there's no way to grab STDERR from my script, but exception will at least let it run and bypass the error message so I can parse $EXITCODE and recreate the error string if needed?

-Chris