Re: Using filters
Sam Varshavchik <[email protected]> Wed, 13 Sep 2006 06:16:46 -0400
| Newsgroups | gmane.mail.cone |
|---|---|
| Message-ID | <[email protected]> |
Mark Feenstra writes: > > 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 ? Maybe that's not the actual content-type: of the mime section. ------------------------------------------------------------------------- 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
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFB9qOx9p3GYHlUOIRAr+aAJ41yTDz8//W1YKElLzD+EuOJ9iZogCeLMib 5aTVG4ZAcmtESRFBU6RPIeU= =J8cp -----END PGP SIGNATURE-----