diff --git a/procmailrc b/procmailrc new file mode 100644 index 0000000..e9ec2bf --- /dev/null +++ b/procmailrc @@ -0,0 +1,110 @@ +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 + +# Spam à la poubelle. +#:0 +# * ^Subject:.*(credit|cash|money|debt|sex|sale|loan) +# $MAILDIR/.SPAM/new + +#Out bons de réduction +:0 + * ^From: .*bons-de-reduction* + $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: .*emailBrokers France* + $SPAMBOX + +:0 + * ^To:.*votatiolycenne@villaro-dixon.eu + $SPAMBOX + +:0 + * ^Subject:.*Voici le listing des.*fonction.* + $SPAMBOX + +:0 + * ^Subject:.*vid-i.com.* + $SPAMBOX + +#I don't need-it :D +:0 + * ^From:.*(Viiagra|Viaggra|Viagrra|Viagra).* + $SPAMBOX +#WTF is this shit ? +:0 + * ^From:.*newfrog.* + $SPAMBOX + +#Stupid fucking viagra +:0 + * ^X-Mailer: Airmail.* + * X-Original-To:.*tor.* + $SPAMBOX + +#Out trading +:0 B + * (compagny|name) + * target + * (trade date|Date:) + $SPAMBOX + +#Out texas +:0 B + * http:// + * news.html + $SPAMBOX +:0 B + * petroleum + * spill + * oil + $SPAMBOX + +#UNIGE +#:0 +# * ^From: .*@unige.ch.* +# $UNIGEBOX + +:0 + * ^To: .*bit_flipping@villaro-dixon.eu.* + $BITFLIPBOX + +:0 + * ^Resent-From:.*frank.villaro@etu.unige.ch.* + * ^To:.*aei@listes.unige.ch.* + $SPAMBOX + +#:0c +# * ^From: *Service messagerie* +# ! email1 email2 email3 MARCHE PAS ! + +:0: + $DEFAULT