format is rmail
mode is 644
home is /u9/rlk/Inbox
errorfile is /u9/rlk/.pmd.err
statfile is /u9/rlk/.usrlog

# bounceage from mail daemons -- postmaster included out of necessity

if is from mailer
 or is from comsat
 or is from mmdf
 or is from postmast
 then put lossage;
  is lossage
 end

# personal todos

if is from rlk
 and is to rlk
 and subject is todo
 then put todo;
  is todo
 end

# political hackery

if is to prog-d
 or is to gender
 then
  put politics;
  is politics
 end

# gnu stuff goes into gnu emacs

if (header contains gnu and not (is to gnuvax or is from gnuvax))
 or header contains emacs
 or header contains rmail
 or header contains gdb
 or header contains gcc
 or header contains gmacs
 or is from rms
 or is to rms
 or is from mly
 or (is from tower and (not is to tanstaafl))
 then 
  put gnu;
  is gnu
 end

# things from work

if is to watch
 or is from dgg
 or is from geer
 or is from jis
 or is from treese
 or is to rfs
 or is to rvd
 or is to developers
 or is to hackers
 or is to rtusers
 or is to testers
 or is to zephyr
 then put athena;
  is athena
 end

# SIPB randomness

if is to sipb
 or is to core-staff
 or is to censorship
 then put sipb;
  is sipb
 end

# info-nets stuff

if header contains info-nets
 or is to nets
 or is to header-people
 then
  put nets;
  is info-nets
 end

# bandykin(tm) and derivatives

if is to kin
 or is to there-aint-no-such-thing-as-a-free-lunch
 or is to tanstaafl
 or is to turist
 or is to tourist
 or is to victims
 or is to lts
 or is to /dev/null
 or is to sex
 or is to online-clench
 or is to brain-death
 then
  put kin;
  is kin
 end

# normal mail goes to the normal place, along with things I care about:
# this includes useful athena stuff
# junk is for digests, random mailinglists, etc.

if is to sf-lovers then put trash; is sf-lovers end
if is to jokers then put trash; is jokers end
if is to bug- then put trash; is bugs end
if is to systems then put trash; is systems end
if is to security then put trash; is security end

# Die, SLuG!
# Reminder:  if I want to do this, it should be more obvious (e. g.
# "Simson lacks permission to alter mailbox status"

#if is from simsong
# then put trash;
#  bounce-with-error "Simson lacks permission to alter mailbox status";
#  is garf
# end

if is to info-cobol then put trash; is cobol end

# Mail addressed to me in person -- I could regret this, but...

if is to rlk
 then
  put mail;
  is personal
 end

# thinking machines stuff (this has to change when I get around to it)

if to is think.com
 or is from think.com
 then put tmc;
  is tmc
 end

# athena is for athena bullshit that I really could generally care less
# about.  technical stuff usually goes to places that i'm interested in
# anyhow.

# This is clearly broken -- a lot of mail from geer is not interesting,
# but a lot of it is.  But pmdc is not an AI program (feh).  Since
# anything important usually goes directly to me, though, it's usually
# not a problem.

# Most of these probably aren't needed, since these folks don't send
# much mail that comes my way.

# If I ever get around to it, I might try split this up.

if is to " athena@"
 or is to " athena%"
 or is to staff@athena
 or is to olc
 or is to lgnews
 or is to lgupdate
 or is from annette
 or is from onnie
 or is from charla
 or is from ajericks
# Note that mail from Jerry that I care about has gone elsewhere
 or is from Saltzer
 or is from lerman
 or is from beth
 or is from lbm
 then put athena-trash;
  is athena-trash
 end

# safety

otherwise put mail; is random end
