Subject: blocking email reception from certain addresses?

From: "G. H. Chinoy" <[email-masked]>
Date: Wed, 6 Apr 1994 12:53:26 -0500 (CDT)

Hi!
	I was wondering if there was a field (or will be a field) in the 
.pinerc which specifies a file listing addresses of people whom you DO 
NOT want mail from? Sort of a 'call-blocker' for email, if you will?

	If this is not a native pine function, is there a script for one of 
those mail filters?

	Sincerely,

	Hussain

____________________________________________________________________________
   G. Hussain Chinoy		Head Consultant, Arts & Sciences NeXT Lab
   [email-masked]	Cupples I, Room 213
				314.935.4353
				Washington University in St. Louis

---

From: David L Miller <[email-masked]>
Date: Wed, 6 Apr 1994 11:41:27 -0700 (PDT)

Hussain,

It is pretty easy to discard undesired mail with any of the mail filters. 
Here is a sample line for the "filter" program (from my .filter-rules file): 

	if (to contains "postmaster" and subject contains "Deferred") then delete

You could also have it execute a script to send a bounce message back to 
the sender.  The other filter programs have comparable features.

Thanks for the request!

--DLM

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, JE-20
4545 15th Ave NE, Seattle WA 98105, USA

---

From: "Andrew B. Sweger" <[email-masked]>
Date: Wed, 6 Apr 1994 11:53:43 -0700 (PDT)

> 	If this is not a native pine function, is there a script for one of 

When using procmail, add the following to your .procmailrc file:

:0
* [email-masked]
roundfile

Or, you could replace 'roundfile' with /dev/null to really can the email.

-- 
  /  Andrew B. Sweger                      [email-masked]
 //  Computer Support Manager              [email-masked]
 \\  Department of Family Medicine, HQ-30  (206) 543-2461 (Office)
 //  UNIVERSITY OF WASHINGTON              (206) 685-4337 (Voice Mail)
 /   Seattle, WA 98195                     (206) 685-0610 (FAX)
------------------------------------------------------------------------------
The great thing about multitasking is that several things can go wrong at once.
==============================================================================

---

From: Roman Czyborra <[email-masked]>
Date: Wed, 6 Apr 1994 21:22:23 +0200

Hussain Chinoy <[email-masked]> asked:

> .pinerc which specifies a file listing addresses of people whom you
> DO NOT want mail from?

No.

> If this is not a native pine function, is there a script for one of

Sure, in procmail it's as simple as this:

	:0hW
	| fgrep -s -f killfile

---

From: [email-masked] (Jay Schuster)
Date: Wed, 6 Apr 94 15:42:17 EDT

> NOT want mail from? Sort of a 'call-blocker' for email, if you will?

If you use deliver, this is a sample .deliver file:
    user="$1"
    FROM=`header -f from $HEADER | tr '[A-Z]' '[a-z]'`
    case "$FROM" in
	*user.to.ignore*) echo DROP; exit 0;;
    esac
    echo "$user"

-- 
Jay Schuster <[email-masked]>	uunet!uvm-gen!banzai!jay, attmail!banzai!jay
The People's Computer Company	`Revolutionary Programming'

---

From: "Richard C. Gaine" <[email-masked]>
Date: Wed, 6 Apr 1994 16:35:30 -0400 (EDT)

Hi,
	What kind of mail filters are you talking about?  Where can I get
a mail filter from?

Thanks much,
Rick Gaine

---

From: "Timothy F. Lee" <[email-masked]>
Date: Wed, 6 Apr 1994 15:58:50 -0700 (PDT)

Actually, can't just you use filter command and filter out the mail that you 
don't want to /dev/null.  In this situation, you aren't getting mail from 
anyone that you don't want to.  ;)

--Tim