From d7c4933d87c024b0b9cac2ce181cf8c7c334ec0e Mon Sep 17 00:00:00 2001 From: leto Date: Sun, 27 Nov 2011 16:37:21 +0100 Subject: [PATCH] antispam update Signed-off-by: leto Signed-off-by: Romain Bignon --- weboob/backends/aum/antispam.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/weboob/backends/aum/antispam.py b/weboob/backends/aum/antispam.py index 0fdc679d..f668e3e5 100644 --- a/weboob/backends/aum/antispam.py +++ b/weboob/backends/aum/antispam.py @@ -62,9 +62,11 @@ class AntiSpam(object): return False if ipaddr.startswith('41.86.'): return False + if ipaddr.startswith('196.47.'): + return False if re.match('105\.13\d.*', ipaddr): return False - if ipaddr in ('62.157.186.18', '198.36.222.8', '212.234.67.61', '203.193.158.210', '41.189.34.180', '41.66.12.36', '196.47.137.21', '213.136.125.122'): + if ipaddr in ('62.157.186.18', '198.36.222.8', '212.234.67.61', '203.193.158.210', '41.189.34.180', '41.66.12.36', '196.47.137.21', '213.136.125.122', '41.191.87.188'): return False return True @@ -107,6 +109,12 @@ class AntiSpam(object): return False if ipaddr.endswith('.idstelcom.com'): return False + if ipaddr.endswith('proxy.chg-support.com'): + return False + if ipaddr.endswith('.sprintsvc.net'): + return False + if ipaddr.endswith('.relakks.com'): + return False return True def check_mail(self, mail):