Using filters

Mark Feenstra <[email protected]> Wed, 13 Sep 2006 09:51:32 +0200
Newsgroups gmane.mail.cone
Message-ID <cone.1158133892.51807.25641.1000@plica>
Hi,

I'm trying to use filters for enabling SMIME support (readonly 
unfortunately) in cone. I created a script in ~/.cone/ with the name:
APPLICATION.X-PKCS7-MIME.filter

I used the APPLICATION.PDF.filter as a sample. I gave it execute rights 
(755) but it doesn't seem to be executed.

--------------------------------------------------------------
#! /bin/sh

PHASE="$1"
MIMETYPE="$2"

if test "$PHASE" = "check"
then
  exit 0
fi

if test "$PHASE" = "filter"
then
  FILENAME="$3"
  echo "BLA $FILENAME BLA"
  echo "BLA $FILENAME BLA" > /tmp/cone.filter
  exit 0
fi
--------------------------------------------------------------

I tried opening the message and "viewing" the attachment. Neither seems to 
spawn my script. 

What am I missing here ?

Mark

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone