# Moshe's procmailrc # This procmailrc processes email coming in on several email addresses. Mail # for jehsom@jehsom.com should be filed separately from all other mail. MAILDIR=$HOME/var/mail LOGFILE=$HOME/.procmail.log VERBOSE=on # trash advertisements :0 * ^Subject: \[?ADV?[] ]?:?\b /dev/null # Killfile billie pendleton parker :0 * ^From: .*(billiee.*pendleton.*parker) * ^To: .*(apo|bp4@prism.gatech.edu) /dev/null # Killfile ruffside :0 * ^From:.*ruffside /dev/null # Trash lugatgt listproc stupidness :0 HB * signoff lugatgt-list /dev/null # Remove any duplicate emails (mailing list Cc:'s and stuff) :0 Wh : $MAILDIR/.idcache.lock | formail -D 1000 $MAILDIR/.idcache # Tack on a header to togetherweb mail :0 hbf * ^(To|Cc): .*@[^ ]*togetherweb.com> | $HOME/bin/addtotop " *** NOTICE: This mail was sent to togetherweb.com ***\n" # Remove yahoo advertisements :0 hbf * ^From:.*yahoo | sed '/^_\{50\}$/,$ d' # Fix incorrect sigdashes :0 Bfwhb * ^--$ | sed 's/^--$/-- /' # Remove cyberbuzz ad :0 hbf * ^Message-ID:.*cyberbuzz | sed '/^-\{49\}$/,$ d' # Send autoresponse to @togetherweb mail, saying I've changed my address. :0 chw * !^FROM_DAEMON * !^X-Loop: .*moshe@runslinux\.net * ^(To|Cc): .*(moshe|jehsom)@togetherweb\.com * !^From: .*(moshe|jehsom|togetherweb\.com) | { formail -r -I "From: Moshe Jacobson <moshe@runslinux.net>" \ -a "Date: `date -R`" \ -A "X-Loop: moshe@runslinux.net"; \ cat $HOME/.autoreply.togetherweb; \ cat $HOME/.sig.moshe; \ } | sendmail -oi -t :0 * ^(To|Cc): .*jehsom { :0 BH * !^FROM_DAEMON * !^X-Loop: .*jehsom@jehsom.com * zipscript|debug( mode|ging)|glftpd|\b0day\b|file_id.diz|\brels\b|racers { :0 c * !^From: .*maestro ! maestro@dv8.org :0 : jehsom/INBOX-zipscript } :0 BH * !^FROM_DAEMON * !^X-Loop: jehsom@jehsom\.com * \b(ftp.(account|server)|serial|vcd|iso|bin.*cue|irc|key|cd[123])\b jehsom/INBOX-scene :0 : jehsom/INBOX } # Vacation Autoresponder for moshe@* #:0 chw #* ^(To|Cc):.*moshe #* !^X-Loop: moshe@runslinux\.net #| { formail -r -I "From: Moshe Jacobson <moshe@runslinux.net>" \ # -A "X-Loop: moshe@runslinux.net" \ # -a "Date: `date -R`"; \ # cat $HOME/.autoreply.vacation # cat $HOME/.sig.moshe # } | sendmail -oi -t # Mail from my website :0 hb : * ^X-Mail-Gateway:.*Doug moshe/INBOX-web # Put list mailings in a separate folder :0 hb : * ^Subject: (Re: )?\[[^]]*\] .* * !^(To|Cc): .*(jehsom|moshe) moshe/INBOX-lists # Catch mail from root/daemons and put it in a separate folder :0 hb : * ^From:.*\<(MAILER-DAEMON|root|bugzilla-daemon)@ moshe/INBOX-daemons # Mail from alert scripts :0 : * ^To:.* alert@togetherweb.com moshe/INBOX-daemons # Orchstra and list/chat lists :0 hb : * ^(To|Cc): .*(orchestra|-(list|chat))@ moshe/INBOX-lists :0 : moshe/INBOX