著者: Peter Bowyer 日付: To: exim-users 題目: Re: [exim] ACL problem (malformed IPv4 address or address mask)
On 27/02/07, Peter Farmer <pfarmer@???> wrote: > Hi all,
>
> I'm having some trouble with my acl_smtp_rcpt ACL, basically in the acl is a
> deny line which should deny all the hosts/networks in the flat file. However
> for 1 ip address is seems to not work. > #spam source
> 81.37.0.0/16
> #spam source
> 84.199.21.0/24
> 194.183.111.85/32 > >>> check hosts = /tmp/spamblock-nets
> >>> host in "/tmp/spamblock-nets"? no (malformed IPv4 address or address
> >>> mask)
This looks like it might be a bug, because the spec says
"A mask value of 32 for an IPv4 address is the same as no mask at all;
just a single address matches. "
Did you try that IP address without the /32? Are there any other lines
in your file with /32 netmasks?