From owner-freebsd-questions Mon Jan 8 9:21:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 94AC137B6B0 for ; Mon, 8 Jan 2001 09:20:47 -0800 (PST) Received: from hades.hell.gr (patr530-a164.otenet.gr [212.205.215.164]) by athserv.otenet.gr (8.10.1/8.10.1) with ESMTP id f08HKme28274; Mon, 8 Jan 2001 19:20:48 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.1/8.11.1) id f08GLeS43402; Mon, 8 Jan 2001 18:21:40 +0200 (EET) Date: Mon, 8 Jan 2001 18:21:40 +0200 From: Giorgos Keramidas To: Ryan Masse Cc: FreeBSD-Questions Subject: Re: email virus | sendmail block Message-ID: <20010108182140.D41935@hades.hell.gr> References: <022b01c0787f$59cf2020$0600a8c0@Home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <022b01c0787f$59cf2020$0600a8c0@Home>; from rmasse@mastery.ca on Sun, Jan 07, 2001 at 02:56:30AM -0500 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 07, 2001 at 02:56:30AM -0500, Ryan Masse wrote: : apparantly theres an email virus going around entitled "hahaha" or something : similar. Is there any way to have sendmail block a message with specified : strings in the title and/or body? I use procmail as my local delivery agent, and with the proper procmail rules, it can filter pretty much anything. You need the following in your .mc file: FEATURE(`local_procmail')dnl MAILER(`local')dnl and you are ready to go. Depending on your procmail installation, the system-wide rules are in /usr/local/etc/procmailrc or some place else. (The default for the FreeBSD port installation is /usr/local/etc/procmailrc). - giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message