3
# URL: http://wiki.fastmail.fm/index.php?title=Vivil
4
# Removed unused notify require
6
# *************************************************************************
7
require ["envelope", "fileinto", "reject", "vacation", "regex", "relational",
8
"comparator-i;ascii-numeric"];
12
reject "Message not delivered; size over limit accepted by recipient";
16
#because of the use of elsif below, none of the "stop;"'s below are needed, but they're good 'defensive programming'. Only the one above is actually needed.
18
redirect "login@gmail.dom";
20
if header :contains ["from","cc"]
22
"from-begin@beginbeginbeginbeginbeginbeginbeginbeginbegin.fr",
25
"newsletter@takecareof.com",
26
"from-end@endendendendendendendendendendendendendendendend.fr"
33
elsif header :contains ["from"]
35
"mygirlfriend-who-use-incredimail@foo.dom"
38
fileinto "INBOX.PRIORITY";
42
#use of "to" field detection next lines is ONLY USEFUL FOR DOMAIN NAME OWNERS if you forward your mail to your fastmail account, some virus/spam send mail to well known addresses as info@willemijns.dom i never use...
44
elsif header :contains ["to","cc"]
46
"to-begin@beginbeginbeginbeginbeginbeginbeginbeginbegin.fr",
47
"FTPsebastien@willemijns.dom",
48
"info@willemijns.dom",
49
"webmaster@willemijns.dom",
50
"to-end@endendendendendendendendendendendendendendendend.fr"
57
elsif header :contains ["subject"]
59
"subject-begin@beginbeginbeginbeginbeginbeginbeginbeginbegin.fr",
60
"Undeliverable mail: Registration is accepted",
61
"subject-end@endendendendendendendendendendendendendendendend.fr"
67
elsif header :value "ge" :comparator "i;ascii-numeric" ["X-Spam-score"] ["6"] {
68
fileinto "INBOX.Junk Mail";
71
elsif header :contains "from" "reflector@launay.dom" {
72
fileinto "INBOX.TEST";
75
elsif header :contains "from" "do-not-reply@franconews.dom" {
76
fileinto "INBOX.TEST";
79
elsif header :contains "from" "devnull@news.telefonica.dom" {
80
fileinto "INBOX.TEST";
83
elsif header :contains ["to"] ["sebastien@willemijns.dom"] {
84
fileinto "INBOX.PRIORITY";
87
elsif header :contains ["to"] ["seb@willemijns.dom"] {
88
fileinto "INBOX.PRIORITY";
94
# ********************************************************************