Bernhard Schmidt:
> Nov 8 17:15:46 lxmhs17 postfix/smtpd[15061]: NOQUEUE: reject: RCPT from
> unknown[fe80::250:56ff:fea9:2c72%vlan6]: 550 5.7.1 Client host rejected:
> cannot find your reverse hostname, [fe80::250:56ff:fea9:2c72%vlan6];
> from=<> to=<[email protected]> proto=ESMTP
> helo=<xxx.yyy.zzz.de>
How do these systems find your server in the first place? In the worst
case you could just delete the address, or set up a firewall rule.
> See the %vlan6 scope identifier at the address. Unfortunately, this
> seems to prevent the CIDR table from matching when we whitelist the
> link-local address range.
>
> fe80::/64 OK
>
> % postmap -q fe80::250:56ff:fea9:2c72%vlan6
> cidr:./access.client.connect-stage.cidr
> % postmap -q fe80::250:56ff:fea9:2c72
> cidr:./access.client.connect-stage.cidr
> OK
> %
>
> We can workaround using regexp tables (for example), but it's pretty
> inconvenient. Can this be fixed easily? Or is it a known limitation?
Postfix CIDR support uses standard system library routines such as
inet_pton(). I am reluctant to re-invent Postfix-specific versions.
Maybe there is some other library that does not barf on this?
As far as I know, fe80::250:56ff:fea9:2c72%vlan6 is not a valid
IPv6 address. Postfix's sanity checks will reject it in several
places.
Wietse