Subject: Some should get mail, most should not

From: [email-masked] (Dan Malcor-LA Times)
Date: 27 Jul 1994 06:01:50 GMT

The system we are using for our Internet connection is also used as a
database sever. The problem is the Internet users are currently a
smaller population then the strictly database users. See when a users
sends mail via pine (or any MUA) to a strictly database user it gets
delivered to the user even thought that person has no access to a mail
reader.

The only solution I have come up with so far is to create a file for
everyone I don't want to recieve mail in the spool dir and make it
read/write to nobody. That should at least cause sendmail heartburn
enough to spit the mail back. Sounds a little drastic to me. 

Any better ideas?
-- 
 ======================================================================
        Dan Malcor              |  Los Angeles Times - Editorial Systems
  Internet: [email-masked]    |  Systems Analyst / Programmer

---

From: [email-masked] (Dan Malcor-LA Times)
Date: 27 Jul 1994 06:21:07 GMT

In article my own posting I wrote:

: The only solution I have come up with so far is to create a file for
: everyone I don't want to recieve mail in the spool dir and make it
: read/write to nobody. That should at least cause sendmail heartburn
: enough to spit the mail back. Sounds a little drastic to me.

Of course none of this addresses the rest of the problem, that pine
will (very helpfully) fill in the data gathered from /etc/passwd on the
users that I don't want to be recieving mail when you finish filling
out the To: field (Can't ever have just one problem at a time)

---

From: Steve Hubert <[email-masked]>
Date: Wed, 27 Jul 1994 00:18:00 -0700 (PDT)

You could use a line-per-user in the aliases file or a .forward file per
user to pipe the mail into a script of some sort that sends back mail
explaining the situation to the sender.  The script could invoke sendmail
directly to send the mail or just use the regular Berkeley mail command to
send the mail. 

Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle

---

From: [email-masked] (Stephen R. van den Berg)
Date: 27 Jul 1994 15:09:54 GMT

In article <[email-masked]>,

>Any better ideas?

How about aliasing every user to a nonexisting username (like 
"nonexistant", don't use "nobody" :-)?
-- 
Sincerely,                                  [email-masked]
           Stephen R. van den Berg (AKA BuGless).

To boldly program, where *no* man has programmed before!

---

From: rervin@tnt (Rich Ervin)
Date: 27 Jul 1994 15:19:10 GMT

>: enough to spit the mail back. Sounds a little drastic to me.

You could also give all user who should not receive maile a .forward file
that either returns it to sender or to you.