procmail
[Top] [All Lists]

Re: SirCam filter

2001-07-24 12:12:18
In the first part, SirCam adds extensions other than exe, com (e.g dat, bat,
pif, lnk). So you'd better include those extensions as well.

In the second part, do not use the "c" flag otherwise you are still allowing
the message to be delivered.

You don't have to put them together if you do not want to. Just add two
calls at your .procmailrc file.

Hope an expert may confirm my help cause I'm still walking on procmail. At
least, that's how I set it up. It's working fine, so far.

Bye. :-)

Bruno


----- Original Message -----
From: "i l i a n a f i l b y" <if(_at_)tpk(_dot_)net>
To: <procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Tuesday, July 24, 2001 3:41 PM
Subject: SirCam filter


Hi

Could someone please look over this filter recipe which I cobbled
together?  I'm not good at this but I need to put something in place,
and I'd like to confirm that this recipe won't break anything.  Much.

Thanks.

############################################################
# SirCam protection
:0 HB
* ^Content-Disposition: attachment;
* filename=".*\.(exe|com)"
{
   LOG='REGJECT - SirCam'

   :0
   /var/tmp/SirCam-quarantine
}
############################################################

P.S.  Would it be less prone for trouble if I somehow added something
like this in addition to the recipe above:

############################################################
:0 c
* B ?? Hi\! How are you\?
* B ?? I send you this file in order to have your advice
* B ?? See you later. Thanks
############################################################

If so, I'm not sure how to add the second part to the first properly.

../Iliana

--
f i l b y  *  n 3 y . 8 d u . t w 4 i
  l
  i           t e c h   s u p p o r t
  a
  n
  a
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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