# Please check if all the paths in PATH are reachable, remove the ones that
# are not.

PATH=$HOME/Unix/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=$HOME/Mailboxes
DEFAULT=/usr/spool/mail/dirk
LOGFILE=$HOME/procmail.log
LOCKFILE=$HOME/.lockmail
VERBOSE=off
LOGABSTRACT=off

# This little  recipe keeps you from getting two copies of the same 
# message (using the Message-ID: header line to check.  You may omit 
# this if you desire.
:0Wh: msgid.lock
| formail -D 8192 $HOME/.msgid.cache

#-----------------------------------------------------------------------------
# Spam filter (http://www.best.com/~ariel/nospam/)
#-----------------------------------------------------------------------------
LINEBUF=16384
SPAMFOLDER=/dev/null
INCLUDERC=$HOME/.procmail/spam.rc

#-----------------------------------------------------------------------------
# meine Privaten mails
#-----------------------------------------------------------------------------
INCLUDERC=$HOME/.procmail/private.rc

#-----------------------------------------------------------------------------
# Rules zum Wegwerfen bestimmter Mails
#-----------------------------------------------------------------------------
INCLUDERC=$HOME/.procmail/junk.rc
	
#-----------------------------------------------------------------------------
# alle Bestaetigungen, z.B. ueber gesendete Faxe sammeln
#-----------------------------------------------------------------------------
:0
* ^Subject.*Your fax to.*
| appnmail $MAILDIR/Bestaetigungen.mbox

#-----------------------------------------------------------------------------
# Mondia spam
#-----------------------------------------------------------------------------
:0
* ^TO.*alle@mondia\.de.*
| appnmail $MAILDIR/Mondia-Alle.mbox

#-----------------------------------------------------------------------------
# CVS Messages
#-----------------------------------------------------------------------------
# cvs Messages ungelesen erst mal abspeichern
:0
* ^Subject: CVS update*
{
	:0 B
	* ^Update of /General/Develop/ExternalRepository
	|appnmail $MAILDIR/BayerConsulting.mbox
	
	:0
	|appnmail $MAILDIR/CVS.mbox
}


#-----------------------------------------------------------------------------
# Projekt Listen
#-----------------------------------------------------------------------------
# Mondia Geschenkemarkt
#-----------------------------------------------------------------------------
:0
* ^TO.*mgm@object-factory\.com
|appnmail $MAILDIR/Projekte/Geschenkemarkt.mbox

:0
* ^TO.*mgm-dev@object-factory\.com
|appnmail $MAILDIR/Projekte/Geschenkemarkt.mbox

:0
* ^TO.*mgmdev@object-factory\.com
|appnmail $MAILDIR/Projekte/Geschenkemarkt.mbox

:0
* ^TO.*bgm@object-factory\.com
|appnmail $MAILDIR/Projekte/Geschenkemarkt.mbox

:0
* ^TO.*bgmdev@object-factory\.com
|appnmail $MAILDIR/Projekte/Geschenkemarkt.mbox

:0
* ^TO.*sekundaervermarktung@object-factory\.com
|appnmail $MAILDIR/Projekte/Geschenkemarkt.mbox

#-----------------------------------------------------------------------------
# Medienservice
#-----------------------------------------------------------------------------
:0
* ^TO.*mms@object-factory\.com
|appnmail $MAILDIR/Projekte/Medienservice.mbox

#-----------------------------------------------------------------------------
# ERV
#-----------------------------------------------------------------------------
:0
* ^TO.*ervdev@object-factory\.com
|appnmail $MAILDIR/Projekte/ERV.mbox

#-----------------------------------------------------------------------------
# Pegasus
#-----------------------------------------------------------------------------
:0
* ^TO.*pegasusdev@object-factory\.com
|appnmail $MAILDIR/Projekte/Pegasus.mbox

#
# die NeXTanswers updates auch an Erik verschicken
#
#:0
#* ^From.*NeXTanswers@next.com
#* ^Subject:.*new and modified NeXTanswers
#{
#	:0 c
#	! erik
#	:0
#	/usr/spool/mail/dirk
#}

#-----------------------------------------------------------------------------
# Externe Mailinglisten
#-----------------------------------------------------------------------------
# die discuss-gnustep listen
#-----------------------------------------------------------------------------
:0
* ^X-Mailing-List.*discuss-gnustep@gnu\.org.*
{
#	:0 c
#	! dirk@cicero.ping.de
	:0
	|appnmail $MAILDIR/GNUstep/Discuss.mbox
}

:0
* ^X-Mailing-List.*bug-gnustep@gnu\.org.*
{
	:0
	|appnmail $MAILDIR/GNUstep/Bug.mbox
}

:0
* ^X-Mailing-List.*help-gnustep@gnu\.org.*
{
	:0
	|appnmail $MAILDIR/GNUstep/Help.mbox
}

#-----------------------------------------------------------------------------
# Omni Mailinglisten
#-----------------------------------------------------------------------------
:0
* ^TO.*webobjects@omnigroup\.com.*
|appnmail $MAILDIR/Programming/WO.mbox

:0
* ^TO.*macosx-dev@omnigroup\.com.*
|appnmail $MAILDIR/Programming/OSX.mbox

:0
* ^TO.*eof@omnigroup\.com.*
|appnmail $MAILDIR/Programming/EOF.mbox

#-----------------------------------------------------------------------------
# ObjC Mailingliste
#-----------------------------------------------------------------------------
:0
* ^TO.*objc-group@computeractive\.com.*
|appnmail $MAILDIR/Programming/ObjC.mbox

:0
* ^From.*objc-group-master@computeractive\.com.*
|appnmail $MAILDIR/Programming/ObjC.mbox

#-----------------------------------------------------------------------------
# Apple WO 4.5 Beta Mailingliste
#-----------------------------------------------------------------------------
:0 B
* \*\*\*   Apple Confidential   \*\*\*
{
	:0 c
	! erik

	:0 c
	! holger

	:0 c
	! mamersfo

	:0 c
	! sam

	:0 c
	! znek

	:0
	| appnmail $MAILDIR/Apple/WO45.mbox
}

#-----------------------------------------------------------------------------
# fuer die Ferien: eine vacation recipe
#-----------------------------------------------------------------------------
#INCLUDERC=$HOME/.procmail/vacation.rc

#
# Anything that has not been delivered by now will go to $DEFAULT
# using LOCKFILE=$DEFAULT$LOCKEXT

#--------------------------------------------------------------------------
# If the regular expression contains `^TO' it will be  substi-
# tuted by `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope
# |Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)', which should catch
# all destination specifications.
# 
# If the regular expression contains `^FROM_DAEMON' it will be
# substituted by `(^(Precedence:.*(junk|bulk|list)|(((Resent-
# )?(From|Sender)|X-Envelope-From):|>?From )(.*[^(.%@a-z0-
# 9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon
# |mmdf|root|n?uucp|smtp|response|LISTSERV|owner|request|bounce
# |serv(ices?|er)|Admin(istrator)?)([^).!:a-z0-9].*)?$[^>]))',
# which should catch mails coming from most daemons (how's that
# for a regular expression :-).
# 
# If the regular expression contains `^FROM_MAILER' it will be
# substituted by `(^(((Resent-)?(From|Sender)|X-Envelope-From):
# |>?From )(.*[^(.%@a-z0-9])?(Post(ma(st(er)?|n)|office)
# |(send)?Mail(er)?|daemon|mmdf|root|n?uucp|smtp|response
# |serv(ices?|er)|Admin(istrator)?)([^).!:a-z0-9].*)?$[^>])' (a
# stripped down version of `^FROM_DAEMON'), which should catch
# mails coming from most mailer-daemons.
