PATH=/bin:/usr/bin #On perd les privilèges si on en a DROPPRIVS=yes MAILDIR=$HOME/Maildir SPAMBOX=.SPAM/cur UNIGEBOX=.UNIGE/cur DEVNULLBOX=.DEVNULL/cur BITFLIPBOX=.BITFLIP/cur MAILINGLISTS_USELESS=.MLUSELESS/cur MAILINGLISTS_USELESS=.AIRCHAIR_GROUP/cur DEFAULT=$HOME/Maildir/ LOGFILE=$HOME/procmail.log #VERBOSE=ON SED=/bin/sed VACATION="no" #DEBUT SPAM # #{{{ # Spam à la poubelle. :0 * ^From:.*oscaro.com.* $MAILDIR/.SPAM/new #Fuck you, alliance resines :0 * ^From:.*alliance-resines.* $MAILDIR/.SPAM/new :0 * ^Subject: \*\*\*\*\*SPAM\*\*\*\*\*.* $MAILDIR/.SPAM/new :0 * ^Subject:.*Finance News.*Investment.*returns $MAILDIR/.SPAM/new #Univ-savoie fucking spam :0 * ^From:.*2univ-savoie.com.* $MAILDIR/.SPAM/new :0 * ^From:.*diffusion-messages.com $MAILDIR/.SPAM/new #Out EachBuyer :0 * ^From:.*EachBuyer.* $DEVNULLBOX #Out Bug me not :0 * ^To:.*bugmenot@vi-di.fr.* $DEVNULLBOX #TVShow time: I dont fucking care :0 * ^From:.*weekly@tvshowtime.com.* $DEVNULLBOX #Acycles: spam de merde :0 * ^To:.*acycles@vi-di.fr.* $DEVNULLBOX #Eurovox fuck-you :0 * ^To:.*eurovox@vi-di.fr.* $DEVNULLBOX #Jesigne de merde :0 * ^From:.*signature@jesigne.fr.* $DEVNULLBOX #Out MesOpinions :0 * ^To:.*mesopinions@vi-di.fr.* $DEVNULLBOX #Out MarcelFuckingGreen :0 * ^From:.*Marcel Green.* $DEVNULLBOX :0 * ^From:.*Pourmonbureau.com.* $SPAMBOX :0 * ^From:.*Masterstudies.com.* $DEVNULLBOX :0 * ^To:.*masterstudies@vi-di.fr.* $DEVNULLBOX :0 * ^To:.*contact@vi-di.fr.* * ^Subject:.*VIDI.* $SPAMBOX :0 * From:.*news@offres-professionnelles.* $DEVNULLBOX #Out bons de réduction :0 * ^From: .*bons-de-reduction* $SPAMBOX #Out myled.com :0 * ^From: .*MyLED.com.* $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 $DEVNULLBOX :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 ##Russian spams :0 * ^To:.*tor@vi-di.fr.* * ^Subject:.*(п|и|я).* $SPAMBOX #out edaboard :0 * ^To:.*edaboard@vi-di.fr.* $DEVNULLBOX #Out discounts :0 * ^To:.*tor@vi-di.fr.* * ^From: American Health Store.* $SPAMBOX #Out scammers :0 B * sum * (British Pounds|dollars) * bank * reply * financial * deal * wife * deposit $SPAMBOX :0 B * Dear * illion * lottery * immediately * information * contact * fund $SPAMBOX :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 B * Salary * Engineer * money * Electronics $SPAMBOX #}}} #Filtering of things I don't care ##PTL things :0 * ^To: .*ptl@posttenebraslab.ch.* * ^Subject:.*(Menu|Dinner|is open|ouvert|is closed).* $MAILINGLISTS_USELESS ##Airchair - archive things :0 * ^Subject:.*Airchairgroup.* $AIRCHAIR_GROUP :0 * ^To: .*bit_flipping@villaro-dixon.eu.* $BITFLIPBOX :0 * ^From:.*MailCleaner.* $DEVNULLBOX #Mailing lists mal foutues #{{{ :0 * ^Resent-From:.*frank.villaro@etu.unige.ch.* * ^To:.*aei@listes.unige.ch.* $MAILINGLISTS_USELESS :0 * ^To:.*aei@listes.unige.ch.* * ^X-Original-To:.*frank_mail@villaro-dixon.eu.* $MAILINGLISTS_USELESS #}}} #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 :0 wc * VACATION ?? yes | /usr/bin/vacation -a frank $LOGNAME