Created
July 18, 2016 04:36
-
-
Save matgou/7d665cf97a0e2ff2cdc536c89693b72f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require ["fileinto"]; | |
################################################################## | |
# Perso | |
################################################################## | |
######### Rappel Anniversaire MSN | |
if header :contains "Subject" "Rappel : Anniversaire de" { | |
fileinto "perso.mail_notif"; | |
stop; | |
} | |
######### Commandes | |
if header :contains "From" "[email protected]" { | |
if header :contains "x-maxcode-template" "xclick/ReceiptXClickPayment" { | |
fileinto "perso.commande"; | |
stop; | |
} | |
} | |
################################################################## | |
# GEEK | |
################################################################## | |
######### OVH | |
if header :contains "Subject" "Notification_de_connexion_=E0_votre_compte:_gm9550-ovh" { | |
fileinto "geek.ovh"; | |
stop; | |
} | |
if header :contains "Subject" "Notification=20de=20connexion=20=E0=20votre=20compte:=20gm9550-ovh?=" { | |
fileinto "geek.ovh"; | |
stop; | |
} | |
if header :contains "List-Post" "[email protected]" { | |
fileinto "geek.ovh"; | |
stop; | |
} | |
######### Gadz | |
if header :contains "From" "[email protected]" { | |
fileinto "geek.gadzorg-roots.nagios"; | |
stop; | |
} | |
if header :contains "To" "[email protected]" { | |
fileinto "geek.gadzorg-roots.mail_report"; | |
stop; | |
} | |
if header :contains "Subject" "Alerte_de_s=C3=A9curit=C3=A9_relative_=C3=A0_votre_" { | |
fileinto "geek.gadzorg-roots.mail_report"; | |
stop; | |
} | |
if header :contains "Subject" "[roots] CRON-APT completed on " { | |
fileinto "geek.gadzorg-roots.mail_report"; | |
stop; | |
} | |
################################################################## | |
# SPAM | |
################################################################## | |
if header :contains "List-Unsubscribe" "comfortpiece.com" { | |
fileinto "Spam"; | |
stop; | |
} | |
if header :contains "List-Unsubscribe" "documentroll.com" { | |
fileinto "Spam"; | |
stop; | |
} | |
if header :contains "List-Unsubscribe" "adgpubli.com" { | |
fileinto "Spam"; | |
stop; | |
} | |
if header :contains "From" "[email protected]" { | |
fileinto "Spam"; | |
stop; | |
} | |
################################################################## | |
# Pub | |
################################################################## | |
# TripAdvisor | |
if header :contains "List-Unsubscribe" "leave.e.tripadvisor.com" { | |
fileinto "pub"; | |
stop; | |
} | |
# Leboncoin.fr | |
if header :contains "Subject" "Vos alertes sur leboncoin.fr" { | |
fileinto "pub"; | |
stop; | |
} | |
# Restomalin | |
if header :contains "From" "[email protected]" { | |
fileinto "pub"; | |
stop; | |
} | |
# iGraal | |
if header :contains "List-Unsubscribe" "news.igraal.com" { | |
fileinto "pub"; | |
stop; | |
} | |
# Celio | |
if header :contains "List-Unsubscribe" "leave.email.celio.com" { | |
fileinto "pub"; | |
stop; | |
} | |
# LCL | |
if header :contains "From" "LCL" { | |
fileinto "pub"; | |
stop; | |
} | |
# Natalys | |
if header :contains "List-Unsubscribe" "communication.natalys.com" { | |
fileinto "pub"; | |
stop; | |
} | |
# VoyagePrive | |
if header :contains "List-Unsubscribe" "email.voyageprive.com" { | |
fileinto "pub"; | |
stop; | |
} | |
# VMWARE | |
if header :contains "List-Unsubscribe" "vmware.com" { | |
fileinto "pub"; | |
stop; | |
} | |
# Abritel | |
if header :contains "From" "[email protected]" { | |
fileinto "pub"; | |
stop; | |
} | |
# DPAM | |
if header :contains "From" "[email protected]" { | |
fileinto "pub"; | |
stop; | |
} | |
# Jerem | |
if header :contains "List-Unsubscribe" "info.jerem.com" { | |
fileinto "pub"; | |
stop; | |
} | |
# BipAndGo | |
if header :contains "List-Unsubscribe" "bipandgo.com" { | |
fileinto "pub"; | |
stop; | |
} | |
# LivrePhoto | |
if header :contains "List-Unsubscribe" "mailjet.com" { | |
if header :contains "From" "[email protected]" { | |
fileinto "pub"; | |
stop; | |
} | |
} | |
# SourceLaire | |
if header :contains "List-Unsubscribe" "mailer.sourcelair.com" { | |
fileinto "pub"; | |
stop; | |
} | |
keep; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment