From owner-freebsd-security Thu Jun 21 9:11:52 2001 Delivered-To: freebsd-security@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id D0D1D37B403 for ; Thu, 21 Jun 2001 09:11:47 -0700 (PDT) (envelope-from veldy@veldy.net) Received: from HP2500B (localhost.veldy.net [127.0.0.1]) by veldy.net (Postfix) with SMTP id E7CB8BAAC; Thu, 21 Jun 2001 11:11:43 -0500 (CDT) Message-ID: <00ba01c0fa6c$c914a800$3028680a@tgt.com> From: "Thomas T. Veldhouse" To: "Giorgos Keramidas" Cc: References: <20010620194713.A18467@ns1.via-net-works.net.ar> <200106202329.f5KNTPm07958@fusion.borderware.com> <20010620165335.C20771@i-sphere.com> <20010621180835.A11041@hades.hell.gr> Subject: Re: need help filter this stupid virus. Sendmail didnt stop this. Date: Thu, 21 Jun 2001 11:11:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Or simply block everything from the pacific rim. Although there are some ligitimate people there :), almost ALL of the email I get from there is SPAM. So ... :0 * ^Received:.*\[200.51.* $HOME/mail/Spam :0 * ^Received:.*\[202.* $HOME/mail/Spam :0 * ^Received:.*\[203.* $HOME/mail/Spam :0 * ^Received:.*\[210.* $HOME/mail/Spam :0 * ^Received:.*\[211.* $HOME/mail/Spam :0 * ^Received:.*\[61.13.* $HOME/mail/Spam :0 * ^.*to be removed.* $HOME/mail/Spam The above rules catch a small group from South America and one other :) You wouldn't believe the amount of Spam that simply "goes away" with this -- and I have only sent 1 legitimate email into my spam box with these filters. Not too bad! To bad administrators in these areas don't get their acts together. Tom Veldhouse veldy@veldy.net ----- Original Message ----- From: "Giorgos Keramidas" To: "faSty" Cc: "Bruce M. Walker" ; Sent: Thursday, June 21, 2001 10:08 AM Subject: Re: need help filter this stupid virus. Sendmail didnt stop this. > On Wed, Jun 20, 2001 at 04:53:35PM -0700, faSty wrote: > > > I did used "From:hahaha@sexyfun.net" and still fails reject it. > > > > -trev > > Instead of tweaking your sendmail rules, which is somewhat error prone > (unless you reallyknow what you are doing), you could install procmail > and use that as the local delivery agent. Then, a simple filter like: > > :0 H > * From[: ].*hahaha@.*sex.*$ > /dev/null > > put in the proper place (your /usr/local/etc/procmailrc) will filter > out all mail that have either an envelope-from or a header-from > address that matches your rules. > > The only problem I can see with this is that you might soon end > up with a huge /usr/local/etc/procmailrc file, instead of a nicer > /etc/mail/access file that blocks spammers. > > If you do want to use /etc/mail/access then you should probably do the > extra works it takes to find from the mail headers, where the mail > comes from. > > Then block the mail that comes from that host or domain or provider > and contact the provider's mail admins informing them that you have > blocked the entire domain because spammers use it to abuse your mail > system. A nicely put and carefully worded telephone call, where you > take care not to offend the mail admins themselves, will do wonders.. > trust me. > > -giorgos > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message