Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2001 18:21:40 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Ryan Masse <rmasse@mastery.ca>
Cc:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: email virus | sendmail block
Message-ID:  <20010108182140.D41935@hades.hell.gr>
In-Reply-To: <022b01c0787f$59cf2020$0600a8c0@Home>; from rmasse@mastery.ca on Sun, Jan 07, 2001 at 02:56:30AM -0500
References:  <022b01c0787f$59cf2020$0600a8c0@Home>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010108182140.D41935>