dotfiles/procmailrc
2014-08-05 18:09:13 +02:00

301 lines
4.1 KiB
Text

PATH=/bin:/usr/bin
#On perd les privilèges si on en a
DROPPRIVS=yes
MAILDIR=$HOME/Maildir
SPAMBOX=.SPAM/cur
UNIGEBOX=.UNIGE/
BITFLIPBOX=.BITFLIP/
DEFAULT=$HOME/Maildir/
LOGFILE=$HOME/procmail.log
VERBOSE=ON
SED=/bin/sed
#DEBUT SPAM
#
#{{{
# Spam à la poubelle.
#:0
# * ^Subject:.*(credit|cash|money|debt|sex|sale|loan)
# $MAILDIR/.SPAM/new
#Out EachBuyer
:0
* ^From:.*EachBuyer.*
$SPAMBOX
#TVShow time: I dont fucking care
:0
* ^From:.*weekly@tvshowtime.com.*
$SPAMBOX
#Acycles: spam de merde
:0
* ^To:.*acycles@vi-di.fr.*
$SPAMBOX
#Eurovox fuck-you
:0
* ^To:.*eurovox@vi-di.fr.*
$SPAMBOX
#Jesigne de merde
:0
* ^From:.*signature@jesigne.fr.*
$SPAMBOX
#Out MesOpinions
:0
* ^To:.*mesopinions@vi-di.fr.*
$SPAMBOX
#Out MarcelFuckingGreen
:0
* ^From:.*Marcel Green.*
$SPAMBOX
:0
* ^From:.*Pourmonbureau.com.*
$SPAMBOX
:0
* ^From:.*Masterstudies.com.*
$SPAMBOX
:0
* ^To:.*contact@vi-di.fr.*
* ^Subject:.*VIDI.*
$SPAMBOX
:0
* From:.*news@offres-professionnelles.*
$SPAMBOX
#Fucking linked-in spam
:0
* ^From:.*@linkedin.com.*
$SPAMBOX
:0
* ^Subject:.*Consultez mon profil LinkedIn.*
$SPAMBOX
#Out bons de réduction
:0
* ^From: .*bons-de-reduction*
$SPAMBOX
#Out directindustry
:0
* ^From:.*Directindustry.*
$SPAMBOX
#Out facebook
:0
* ^From: .*Facebook*
$SPAMBOX
#Out Twitter
:0
* ^From: .*Twitter*
$SPAMBOX
#Out client EDF
:0
* ^From: .*Votre espace Client EDF*
$SPAMBOX
#Out wolfram
:0
* ^From: .*insider@wolfram.com.
$SPAMBOX
#Out emailbrokers
:0
* ^From: .*mailBrokers*
$SPAMBOX
:0
* ^To:.*votatiolycenne@villaro-dixon.eu
$SPAMBOX
:0
* ^Subject:.*Voici le listing des.*fonction.*
$SPAMBOX
:0
* ^Subject:.*vid-i.com.*
$SPAMBOX
:0
*^To:.*email_list@test.villaro.ch.*
$SPAMBOX
#WTF is this shit ?
:0
* ^From:.*newfrog.*
$SPAMBOX
:0
* ^From:.*FoxNews.*
$SPAMBOX
:0
* ^Subject:.*BREAKING.*NEWS.*
$SPAMBOX
:0
* ^To:.*tor@villaro-dixon.eu.*
* ^Subject:.*(F|f)inance.*
$SPAMBOX
#I don't need-it :D
:0
* ^From:.*(Viiagra|Viaggra|Viagrra|Viagra).*
$SPAMBOX
:0
* ^From:.*(Pfizer|Pfizzer|Pfiizer|Prizer).*
$SPAMBOX
#Stupid fucking viagra
:0
* ^X-Mailer: Airmail.*
* ^X-Original-To:.*tor.*
$SPAMBOX
#Out fcking ads
:0
* ^To:.*tor@vi-di.fr.*
* ^From:.*(Prizer|Prizer).*
* ^Subject:.*(S|s)av(ings|e).*
$SPAMBOX
#out edaboard
:0
* ^To:.*edaboard@vi-di.fr.*
$SPAMBOX
#Out discounts
:0
* ^To:.*tor@vi-di.fr.*
* ^From: American Health Store.*
$SPAMBOX
#Out trading
:0 B
* (compagny|name)
* target
* (trade date|Date:)
$SPAMBOX
#Out scammers
:0 B
* sum
* (British Pounds|dollars)
* bank
* reply
* financial
* deal
* wife
* deposit
$SPAMBOX
#Out texas
:0 B
* http://
* news.html
$SPAMBOX
j:0 B
* petroleum
* spill
* oil
$SPAMBOX
:0 B
* oil
* painting
* (photo|image)
* qq.com
* frank
$SPAMBOX
#out russian dating
:0 B
* (R|r)ussian
* (W|w)oman
* (single|dating)
$SPAMBOX
#Out fucking oil paintings
:0 B
* oil
* painting
* pictures
* item
$SPAMBOX
#}}}
:0
* ^To: .*bit_flipping@villaro-dixon.eu.*
$BITFLIPBOX
#Mailing lists mal foutues
#{{{
:0
* ^Resent-From:.*frank.villaro@etu.unige.ch.*
* ^To:.*aei@listes.unige.ch.*
$SPAMBOX
:0
* ^To:.*aei@listes.unige.ch.*
* ^X-Original-To:.*frank_mail@villaro-dixon.eu.*
$SPAMBOX
#}}}
#Auto formating des signatures de ML mal foutues
#{{{
#taken from bethesignal.org; thanks ;)
:0 fBw
* ^--$
| $SED -e 's/^--$/-- /'
:0 fBw
* ^_______________________________________________$
| $SED -e 's/^_______________________________________________$/-- /'
:0 fBw
* ^________________________________$
| $SED -e 's/^________________________________$/-- /'
:0 fBw
* ^---------------------------$
| $SED -e 's/^---------------------------$/-- /'
#}}}
#:0c
# * ^From: *Service messagerie*
# ! email1 email2 email3 MARCHE PAS !
#:0:
# $DEFAULT
SENDMAIL=/usr/lib/sendmail
#:0 Whc: .vacation.lock
#* !^FROM_DAEMON
#* !^X-Loop: frank@villaro-dixon.eu
#| formail -rD 8192 .vacation.cache
#Mailer chaque user une seule fois
#:0 ehc # if the name was not in the cache
#| (formail -rA"Precedence: junk" \
#-A"X-Loop: frank@villaro-dixon.eu" ; \
#cat $HOME/.vacation.msg; \
#echo "-- "; \
#cat $HOME/.signature \
#) | $SENDMAIL -oi -t