procmail
[Top] [All Lists]

Setting up MS attachments killer

1998-08-29 08:20:23
Hi all!

I feel pretty stupid asking a question like this, but I hope you can bear
over with me and help me.

I want to kill all MS Word, Excel, TNEF and similar attachments before
they reach me. Searching the list archives, I found that pm-jamime-kill.rc
is probably what I need, so downloaded it and unpacked it, but I must
admit I can't quite figure out how to set it up to serve my purpose...

First, it says:
PMSRC must point to source direcry of procmail code.

Would that be the directory of the procmail program source code, or just
the pm-code directory? (BTW, it's a typo there :-) )

Then, I want the kill the attachments regardless of the mail program that
was used to send the message. What do I do to achieve this?
What do I set some-other-attachement-type to be?

When I set JA_MIME_TYPE to kill MS stuff, could I use = "application/ms*"?

I didn't understand what JA_MIME_KILL_RE and JA_MIME_KILL2_RE does
either... Do I need to set them to get rid of the problem, the large
attachments?

Currently, I don't want to kill HTML attachments. I've taught my friends
and most of the people on the lists I own not to use them, and
occasionally I get HTML files to put on one of my servers. Are there any
special considerations I should make, that is, is killing HTML attachments
default behaviour of the filter?

While I'm at it, I want to save large messages to a special folder. This
seems like a simple task, and I searched the list archives for some hints,
and found a message with some recipe to determine size. I didn't
understand anything of it, and since the size is logged, I figured there
must be something simpler...? 
I thought about maybe using ^Content-Length: but I didn't find that header
in any of my messages the last few days.... 

I would be very thankful for help. 

Friendly Tiddely-pom,

Kjetil
-- 
Kjetil Kjernsmo
Graduate astronomy-student                       University of Oslo, Norway
mailto:kjetikj(_at_)astro(_dot_)uio(_dot_)no  
WWW-homepage:http://www.astro.uio.no/~kjetikj/
President, Norwegian Association of Physics Students   
Webmaster(_at_)skepsis(_dot_)no 


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