From owner-freebsd-questions@FreeBSD.ORG Sun May 4 19:19:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C49737B401 for ; Sun, 4 May 2003 19:19:52 -0700 (PDT) Received: from dragoncrest.jasnetworks.net (dragoncrest.jasnetworks.net [65.194.254.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD76243FD7 for ; Sun, 4 May 2003 19:19:51 -0700 (PDT) (envelope-from dragoncrest@voyager.net) Received: from works.voyager.net (works.jasnetworks.net [192.168.0.2]) h44KMOwb012327; Sun, 4 May 2003 20:22:24 GMT (envelope-from dragoncrest@voyager.net) Message-Id: <5.2.0.9.2.20030504211724.00a075b0@pop.voyager.net> X-Sender: dragoncrest@pop.voyager.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Sun, 04 May 2003 21:19:28 -0400 To: "Danny Horne" From: Dragoncrest In-Reply-To: <5.2.0.9.2.20030503225138.00a3e590@pop.voyager.net> References: <1094.192.168.1.10.1051967100.squirrel@webmail.clifftop.net > <5.2.0.9.2.20030503070833.00a04e40@pop.voyager.net> <5.2.0.9.2.20030503070833.00a04e40@pop.voyager.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: It's fixed!! (was Re: Setting spam assassin to capture viruses?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 02:19:52 -0000 Well, I toyed with that procmail recipe a bit over the last two days and found out what was hosing up the works. It had to do with something really quirky about my mail setup. But either way it's fixed. It now does everything I need it to. I've also even modified it a slight bit so that it automatically takes all emails with qualifying attachments and throws them into a special virus folder. Thanks for the help!! :) At 10:52 PM 5/3/03 -0400, Dragoncrest wrote: > Uh, got a slight problem with that recipe you sent me. It's now > corrupting my inbox. > >At 02:05 PM 5/3/03 +0100, Danny Horne wrote: > >>Dragoncrest was once thought to have said: >> > Is there a way I can adjust by hand spam assassin's config file >> or one of >> > the files it uses to detect spam so that it also will look for attachments >> > and if it finds anything with the extension of pif, scr, exe, or com, it >> > will automatically flag it as spam and toss it in my spam folder? I want >> > to set it to block certain types of attachments on email. Or would >> that be >> > better done with procmail? Qpopper? Just curious what's the best way to >> > block these. I figure if spam assassin will do it, I'll just adjust it so >> > that it takes care of this for me. Thanks. >> > >>I use this procmail recipe for that - >>:0 fhw >>* B ?? ^Content-type: (audio|application) >>* B ?? name=.*\.(com|exe|bat|scr|pif|hta|shs|vb[es]|ws[fh])\> >>* Subject: *\/.+ >>| formail -I "Subject: POSSIBLE VIRUS: $MATCH" > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"