require ["fileinto", "imap4flags", "envelope", "body"]; # Coloclue AbuseIO if allof (header :contains "subject" "Notification of (possible) abuse", address :is "from" "routers@coloclue.net") { fileinto "INBOX/08. Abuse"; stop; } # Coloclue Abuse DTC if anyof (header :contains "subject" "[DTC Informatiedienst") { fileinto "INBOX/08. Abuse"; stop; } # Coloclue AbuseIO Exceptions if allof (header :contains "subject" "Exception notification", address :is "from" "routers@coloclue.net", address :is "to" "routers@coloclue.net") { fileinto "INBOX/08. Abuse/Exceptions"; stop; } # Coloclue abuse Tor exit node rejo if allof(anyof (address :is "to" "abuse@coloclue.net", address :is "cc" "abuse@coloclue.net"), anyof (header :contains "subject" "94.142.242.84", body :contains "94.142.242.84") ) { setflag "\\seen"; fileinto "INBOX/08. Abuse/Tor-node rejo"; stop; } # Coloclue abuse Tor exit node Rejo #if allof (address :is "to" "abuse@coloclue.net", # header :contains "subject" "94.142.242.84") #{ # fileinto "INBOX/08. Abuse/Tornode Rejo"; # stop; #} # Coloclue abuse Tor exit node Vrij-heid if allof (anyof (address :is "to" "abuse@coloclue.net", address :is "cc" "abuse@coloclue.net"), anyof (header :contains "subject" "94.142.244.16", header :contains "subject" "94.142.241.194", body :contains "94.142.244.16", body :contains "94.142.241.194") ) { setflag "\\seen"; fileinto "INBOX/08. Abuse/Tor-node Vrij-heid"; stop; } # Coloclue Access requests if anyof( allof (header :contains "subject" "Access request to ColoClue location", address :is "from" "no-reply@coloclue.net"), allof (header :contains "subject" "Access to euNetworks", address :is "from" "support@truefullstaq.com"), allof (header :contains "subject" "TransIP: DCG datacenter toegang", address :is "from" "support@transip.nl") ) { fileinto "INBOX/07. AccessRequests"; stop; } # Coloclue Ansible git commits if anyof(address :is "from" "git@deploy.coloclue.net", header :contains "subject" "[coloclue-ansible]", header :contains "subject" "[device-config]", header :contains "subject" "[gitolite-admin]") { fileinto "INBOX/11. ColoClue Development/Git"; setflag "\\seen"; stop; } # Coloclue AMS-IX org-l if header :contains "list-id" "list-id: org-l.ams-ix.net" { setflag "\\seen"; fileinto "INBOX/IX/AMS-IX/org-l"; stop; } # Coloclue AMS-IX tech-l if header :contains "list-id" "tech-l.ams-ix.net" { setflag "\\seen"; fileinto "INBOX/IX/AMS-IX/tech-l"; stop; } # Coloclue Device-config git commits #if allof(address :is "from" "git@deploy.coloclue.net", # header :contains "subject" "[device-config]" #) { # fileinto "INBOX/11. ColoClue Developmen/Git"; # stop; #} # Coloclue gitolite admin #if allof(address :is "from" "git@deploy.coloclue.net", # header :contains "subject" "[gitolite-admin]" #) { # fileinto "INBOX/11. ColoClue Developmen/Git"; # stop; #} # Coloclue FastNetMon if header :contains "subject" "FastNetMon Guard: IP" { fileinto "INBOX/10. Coloclue Systems/Fastnetmon"; stop; } # Coloclue Fiberring if envelope "from" "noreply@fiberring.com" { fileinto "INBOX/01. Bestuurszaken/Leveranciers/"; stop; } # Coloclue Finance Cron if anyof(address :is "from" "root@finance-2.coloclue.net", header :contains "subject" "Cron