Re: fwd: [Wlug] Filtering attachments via a Sendmail ruleset?
In a message dated: Thu, 05 Apr 2001 15:48:11 EDT Jeffry Smith said:
OK, I know we do something to "defang" stuff, could I / you pass what it is on to this list, to answer this question?
jeff ------- Forwarded Message
From: "Dave Coutu" <cout@alum.wpi.edu> To: <wlug@mail.wlug.org> Date: Thu, 5 Apr 2001 11:10:10 -0700 Subject: [Wlug] Filtering attachments via a Sendmail ruleset?
Hey Guys,
Really simple question here... A while back I had asked whether = sendmail could filter out mail based on a subject header , and found out = that it could. Now I have a situation here at work where we want to = filter out attachments, the obvious being .vbs, .exe, basically anything = that may contain a virus. We don't run anti-virus software on the mail = server that mail is being delivered to, nor on the sendmail relays = feeding into it, since they are Solaris boxes and we currently don't = have a unix version of Norton lying about. But I believe that we can = filter out attachments through a sendmail ruleset, and I am wondering if = this is the case. If so, can someone tell me how/where to do it please? = Would be very appreciative for any help here! Thanks in advance!
What we do here is use procmail on our local, internal mail server. There's a great filtering set of procmail rules for this located at: http://www.impsec.org/email-tools/procmail-security.html As long as you have procmail installed and sendmail is configured to use procmail, just drop this stuff in place and you'll instantly start filtering stuff based on content and/or extension. There's a lot of configuration and customization you can do with this thing, and we've found that it works fantastic. We've intercepted the "AnnaKournikova" virus many, many times since it's initial release, and I can't even count the number of other virii I've seen trapped since we installed this. HTH, Seeya, Paul -- Paul Lussier Chairman, Nashua Chapter, GNHLUG Senior Systems and Network Engineer Mission Critical Linux, Inc.
On Thu, Apr 05, 2001 at 04:01:50PM -0400, Paul Lussier wrote:
As long as you have procmail installed and sendmail is configured to use procmail, just drop this stuff in place and you'll instantly start filtering stuff based on content and/or extension.
Just an FYI: This means that procmail will have to run and filter each message *per recipient* which means it's going to cause lots of CPU overhead, depending on what kinds of filtering you're doing. -- Randomly Generated Tagline: "I sometimes think that they hire guards based on the bone content in their heads." - Londo on Babylon 5
On Thu, Apr 05, 2001 at 04:01:50PM -0400, Paul Lussier wrote:
As long as you have procmail installed and sendmail is configured to use procmail, just drop this stuff in place and you'll instantly start filtering stuff based on content and/or extension.
Just an FYI: This means that procmail will have to run and filter each message *per recipient* which means it's going to cause lots of CPU overhead, depending on what kinds of filtering you're doing.
-- Randomly Generated Tagline: "I sometimes think that they hire guards based on the bone content in
Thanks alot for your input guys, very appreciated. We will be looking into your suggestions and seeing what works best for us! Dave ----- Original Message ----- From: "Theo Van Dinter" <felicity@kluge.net> To: <wlug@mail.wlug.org> Sent: Thursday, April 05, 2001 1:22 PM Subject: Re: fwd: [Wlug] Filtering attachments via a Sendmail ruleset? their
heads." - Londo on Babylon 5 _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (3)
-
Dave Coutu
-
Paul Lussier
-
Theo Van Dinter