#
# this .maildelivery file is unscruplously swiped from Paul Aoki's 
# ~postman/.maildelivery.    - ay 6/28/95
#
# someone needs to look at +barf every now and then to clean out bogus
# names...
#
#from		uucp			| ? "/usr/lib/mh/rcvstore +barf"
#return-path	uucp			| ? "/usr/lib/mh/rcvstore +barf"
from		mmdf			| ? "/usr/lib/mh/rcvstore +barf"
return-path	mmdf			| ? "/usr/lib/mh/rcvstore +barf"
from		postmast		| ? "/usr/lib/mh/rcvstore +barf"
return-path	postmast		| ? "/usr/lib/mh/rcvstore +barf"
from		MAILER-DAEMON		| ? "/usr/lib/mh/rcvstore +barf"
return-path	MAILER-DAEMON		| ? "/usr/lib/mh/rcvstore +barf"
from		mailer-			| ? "/usr/lib/mh/rcvstore +barf"
return-path	mailer-			| ? "/usr/lib/mh/rcvstore +barf"
from		daemon			| ? "/usr/lib/mh/rcvstore +barf"
return-path	daemon			| ? "/usr/lib/mh/rcvstore +barf"
subject		"failed mail"		| ? "/usr/lib/mh/rcvstore +barf"
subject		"returned mail"		| ? "/usr/lib/mh/rcvstore +barf"
subject		"delivery report"	| ? "/usr/lib/mh/rcvstore +barf"
subject		"undelivered mail"	| ? "/usr/lib/mh/rcvstore +barf"
subject		"undeliverable mail"	| ? "/usr/lib/mh/rcvstore +barf"
# this catches the cruft from the circular news/mail gateway in sweden
newsgroups	postgres95		| ? "/usr/lib/mh/rcvstore +barf"
newsgroups	postgres		| ? "/usr/lib/mh/rcvstore +barf"
sender		nobody			| ? "/usr/lib/mh/rcvstore +barf"
#
# some idiots send mail to these addresses directly
#
to		pglite		| ? "/usr/lib/mh/rcvdist owner-postgres95"
cc		pglite		| ? "/usr/lib/mh/rcvdist owner-postgres95"
to		postgres95-	| ? "/usr/lib/mh/rcvdist owner-postgres95"
cc		postgres95-	| ? "/usr/lib/mh/rcvdist owner-postgres95"
to		postgres95_	| ? "/usr/lib/mh/rcvdist owner-postgres95"
cc		postgres95_	| ? "/usr/lib/mh/rcvdist owner-postgres95"
to		-postgres95	| ? "/usr/lib/mh/rcvdist owner-postgres95"
cc		-postgres95	| ? "/usr/lib/mh/rcvdist owner-postgres95"
to		_postgres95	| ? "/usr/lib/mh/rcvdist owner-postgres95"
cc		_postgres95	| ? "/usr/lib/mh/rcvdist owner-postgres95"
#
# catch mail from me so it doesn't fly out into the list.
#	some people send mail from their "postgres" accounts, so we'll
#	say "From: postgres" is ok.
# ("apparently-to" catches the automatic expreserve message.)
#
from		pglite		| ? "/usr/lib/mh/rcvdist owner-postgres95"
return-path	pglite		| ? "/usr/lib/mh/rcvdist owner-postgres95"
apparently-to	pglite		| ? "/usr/lib/mh/rcvdist owner-postgres95"
apparently-to	postgres95	| ? "/usr/lib/mh/rcvdist owner-postgres95"
#
# stupid user tricks.
#	many people forget about postgres-request..
#
subject		"del"		| ? "/usr/lib/mh/rcvdist owner-postgres95"
subject		"remove"	| ? "/usr/lib/mh/rcvdist owner-postgres95"
subject		"sub"		| ? "/usr/lib/mh/rcvdist owner-postgres95"
subject		"add"		| ? "/usr/lib/mh/rcvdist owner-postgres95"
#
# filter out test messages. (this will annoy hundreds of subscribers)
#
subject		"test"		| ? "/usr/lib/mh/rcvdist owner-postgres95"
#
# don't let the mailing list go circular!
#
sender		owner-postgres95	destroy A -
sender		pglite			destroy A -
#
# the real mailing list.
#
to		postgres95		| ? "(echo Sender: owner-postgres95@postgres.Berkeley.EDU; sed -e '/^$/,$b' -e 's/Return-Path:/X-Return-Path:/' -e 's/^Sender:/X-Sender:/' -e 's/^Delivery-Date:/X-Delivery-Date:/'; cat /usr/local/devel/pglite/Mail/lib/end-of-message) | /usr/lib/mh/rcvdist postgres95-redist"
cc		postgres95		| ? "(echo Sender: owner-postgres95@postgres.Berkeley.EDU; sed -e '/^$/,$b' -e 's/Return-Path:/X-Return-Path:/' -e 's/^Sender:/X-Sender:/' -e 's/^Delivery-Date:/X-Delivery-Date:/'; cat /usr/local/devel/pglite/Mail/lib/end-of-message) | /usr/lib/mh/rcvdist postgres95-redist"
#
# if anything else happens, there's probably something wrong.
#
default 	-		| ? "/usr/lib/mh/rcvdist owner-postgres95"
