Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
+ips1 {
+ type = iplist;
+
+ file = nolock:1:data/test_ip_1;
+ file = nolock:1:data/test_ip_2;
+
+ soft_threshold = 1;
+ hard_threshold = 2;
+
+ on_hard_match = postfix:OK;
+ on_soft_match = postfix:OK;
+}
+
recipient_filter = match1;
recipient_filter = match1;
--- /dev/null
+1.2.3.4
+2.3.4.5
+192.168.0.1
--- /dev/null
+1.2.3.4
+1.2.3.5
+1.2.4.6
hostnames2=fail
emails1=fail
emails2=fail
hostnames2=fail
emails1=fail
emails2=fail
hostnames2=hard_match
emails1=soft_match
emails2=hard_match
hostnames2=hard_match
emails1=soft_match
emails2=hard_match
sender=contact@exemple.com
recipient=contact@exemple.org
recipient_count=0
sender=contact@exemple.com
recipient=contact@exemple.org
recipient_count=0
+client_address=1.2.3.1934
client_name=kikoo.example.net
reverse_client_name=example.net
instance=123.456.7
client_name=kikoo.example.net
reverse_client_name=example.net
instance=123.456.7
hostnames2=hard_match
emails1=fail
emails2=fail
hostnames2=hard_match
emails1=fail
emails2=fail
sender=contact@exemple.com
recipient=contact@exemple.org
recipient_count=0
sender=contact@exemple.com
recipient=contact@exemple.org
recipient_count=0
+client_address=12::ef:ff
client_name=kikoo.example.net
reverse_client_name=example.net
instance=123.456.7
client_name=kikoo.example.net
reverse_client_name=example.net
instance=123.456.7
hostnames2=hard_match
emails1=fail
emails2=fail
hostnames2=hard_match
emails1=fail
emails2=fail
sender=contact@exemple.com
recipient=contact@exemple.org
recipient_count=0
sender=contact@exemple.com
recipient=contact@exemple.org
recipient_count=0
+client_address=8.9.10.11
client_name=kikoo.example.net
reverse_client_name=example.net
instance=123.456.7
client_name=kikoo.example.net
reverse_client_name=example.net
instance=123.456.7
encryption_cipher=DHE-RSA-AES256-sha
encryption_keysize=256
etrn_domain=
encryption_cipher=DHE-RSA-AES256-sha
encryption_keysize=256
etrn_domain=
hostnames1=fail
hostnames2=hard_match
emails1=fail
emails2=fail
hostnames1=fail
hostnames2=hard_match
emails1=fail
emails2=fail
sender=contact@exemple.com
recipient=contact@exemple.org
recipient_count=0
sender=contact@exemple.com
recipient=contact@exemple.org
recipient_count=0
client_name=kikoo.example.net
reverse_client_name=example.net
instance=123.456.7
client_name=kikoo.example.net
reverse_client_name=example.net
instance=123.456.7
hostnames2=hard_match
emails1=fail
emails2=fail
hostnames2=hard_match
emails1=fail
emails2=fail
hostnames2=hard_match
emails1=fail
emails2=fail
hostnames2=hard_match
emails1=fail
emails2=fail
sender=contact@exemple.com
recipient=contact@exemple.org
recipient_count=0
sender=contact@exemple.com
recipient=contact@exemple.org
recipient_count=0
client_name=kikoo.example.net
client_name=kikoo.example.net
-reverse_client_name=example.net
instance=123.456.7
sasl_method=plaineuh
sasl_username=you
instance=123.456.7
sasl_method=plaineuh
sasl_username=you
match1=fail
match2=fail
hostnames1=fail
match1=fail
match2=fail
hostnames1=fail
emails1=fail
emails2=fail
emails1=fail
emails2=fail