Tom Hendrikx:
>
> Hi,
>
> I'm trying to setup a test environment using smtp-sink as a mail
> receiver. For ipv4 I'm running smtp-sink on random addresses in
> 127.0.0.0/8, and was looking for the same trick on ipv6. My OS allows me
> to (ab)use ::ffff:0:0/96 for this, but unfortunately, smtp-sink does not:
>
> $ smtp-sink -v ::ffff:127.1.2.3:12345 100
> smtp-sink: name_mask: all
> smtp-sink: trying... [::ffff:127.1.2.3]:12345
> smtp-sink: fatal: bind ::ffff:127.1.2.3 port 12345: Invalid argument
The bind(2) system call rejects the address. Postfix is the messenger
of bad news. Don't blame the messenger.
Wietse