for (t = ss; isdigit(*t) || *t == '.'; ) t++;
if (!*t || (*t == '/' && t != ss))
{
- *error = US"malformed IPv4 address or address mask";
+ *error = string_sprintf("malformed IPv4 address or address mask: %.*s", (int)(t - ss), ss);
return ERROR;
}
sender address = CALLER@myhost.test.ex
1.2.3.4 in "1.2.3"?
list element: 1.2.3
- 1.2.3.4 in "1.2.3"? no (malformed IPv4 address or address mask)
+ 1.2.3.4 in "1.2.3"? no (malformed IPv4 address or address mask: 1.2.3)
1.2.3.4 in "1.2.3.4/abc"?
list element: 1.2.3.4/abc
- 1.2.3.4 in "1.2.3.4/abc"? no (malformed IPv4 address or address mask)
+ 1.2.3.4 in "1.2.3.4/abc"? no (malformed IPv4 address or address mask: 1.2.3.4)
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=p1240 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
>>> check hosts = 1.2.3/24
>>> host in "1.2.3/24"?
>>> list element: 1.2.3/24
->>> host in "1.2.3/24"? no (malformed IPv4 address or address mask)
+>>> host in "1.2.3/24"? no (malformed IPv4 address or address mask: 1.2.3)
>>> deny: condition test failed in ACL "a2"
>>> end of ACL "a2": implicit DENY
LOG: H=(test) [V4NET.0.0.0] F=<> rejected RCPT <a2@b>