Nicklas,
> How do I specify multiple $inet_socket_bind entries instead of using
> 'undef', which binds to all interfaces?
I don't think it is possible to explicitly list some but not all
IP addresses for binding. The $inet_socket_bind is passed directly
to Net::Server->run as its 'host' parameter (with a special provision
that undef or an empty string is mapped to '*').
According to Net::Server man page:
host
Local host or addr upon which to bind port. If a value of '*' is
given, the server will bind that port on all available addresses on
the box. See Net::Server::Proto. See IO::Socket.
So it seems the Net::Server can not take a list of local addresses
or interfaces to be bound to. Peeking at its source code doesn't
let me think otherwise.
You may ask the maintainer/author of Net::Server to take a feature request.
Mark
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/