procmail
[Top] [All Lists]

Re: Jari's mime killing utility, how does it work

1998-11-22 11:46:32
|Sun 1998-11-22 "Matthew G. Saroff" <msaroff(_at_)pca(_dot_)net> list.procmail
|
| I have a need to kill application/postscript attachments that come
| in to one of my accounts. I have attempted to put the following in my
| .procmailrc.
|
| JA_MIME_TYPE = "application/postscript"
| INCLUDERC = $PMSRC/pm-jamime-kill.rc
| 
| Ths stuff sails through unaffected.
| Could someone give me VERY basic instructions on how to install
| these so that they work?

Hi Matthew,

Please send me an example of your postscript attachement with Full headers
and body and I can tell you more why it might fail. A verbose log would
also help to pinpoint a problem. I assume you DID read the remark on
AWK from the instructions in the recipe?

To set up an additional attachement killer is matter of adding recipe like
this.

    :0 B
    * application/postscript
    {
        JA_MIME_TYPE = "application/postscript"
    }

Just like you did, but rememeber if you do

    JA_MIME_TYPE = "application/postscript

You set it permanently and it will only kill postscript, whereas the
conditional above will change the type only locally when postscript
isw received.

jari

<Prev in Thread] Current Thread [Next in Thread>