*BSD News Article 68716


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!netnews.nwnet.net!news.nodak.edu!plains.nodak.edu!not-for-mail
From: ortmann@plains.nodak.edu (Daniel Ortmann)
Newsgroups: comp.unix.bsd.misc
Subject: Re: Blocking e-mail from a specific address
Date: 16 May 1996 15:52:06 -0500
Organization: North Dakota Higher Education Computing Network (NDHECN)
Lines: 24
Message-ID: <4ng4hm$4c3@plains.nodak.edu>
References: <319A4D1B.39C2@goldcountry.com>
NNTP-Posting-Host: plains.nodak.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

In article <319A4D1B.39C2@goldcountry.com>,
Patrick D. Tiquet <ptiquet@goldcountry.com> wrote:
>This is more of a sendmail question than a bsd one... maybe someone here 
>can help me.
>
>I regularly get e-mail from a person that I would rather not get e-mail 
>from. And I would like sendmail just to toss e-mail from that person for 
>me into the trash... like never deliver it. And, as far as they are 
>concerned (the sender) the e-mail was delivered as usual.
>
>Is there some sendmail rulesets I can use to define a database to 
>accomplish this? A quick glance through the sendmail book has revealed 
>no clues.
>
>Please help.

1 - Install the "elm" mailer and use its "filter" program.
2 - Edit your ~/.elm/filter-rules file, adding a delete rule.
3 - Create a ~/.forward file with: "| /usr/local/bin/filter -o /dev/null"

Be sure to read the full docs on "filter"; the man page isn't enough.

-- 
Daniel