This problem has reared its head in perl 5.14.2 on FreeBSD 8.3 in the execution of postgrey. Turning off taint checking makes the error go away.
postgrey --inet=10023 --pidfile=/var/run/postgrey.pid \
--user=postgrey --group=postgrey  --dbdir=/var/db/postgrey
2013/03/27-08:53:46 postgrey (type Net::Server::Multiplex) starting! pid(45305)
Resolved localhost:10023 to ::1:10023, IPv6
Resolved localhost:10023 to ::1:10023, IPv6
Resolved localhost:10023 to 127.0.0.1:10023, IPv4
Resolved localhost:10023 to 127.0.0.1:10023, IPv4
Duplicate configuration (TCP) on ::1:10023 with IPv6) - skipping
Duplicate configuration (TCP) on 127.0.0.1:10023 with IPv4) - skipping
Binding to TCP port 10023 on host ::1 with IPv6
Insecure dependency in socket while running with -T switch at /usr/local/lib/perl5/site_perl/5.14.2/mach/IO/Socket.pm line 80.
Is the bug in perl itself or in the perl modules it calls? All have been rebuilt and reinstalled from source in the past few days to ensure nothing was damaged or out of date. FWIW, it doesn't happen if you choose the unix domain socket but then you can't daemonize the process on the command line: you can add an & but you can't use the -d argument. Details:
===>   postgrey-1.34_4 depends on package: p5-Net-Server>=0 - found
===>   postgrey-1.34_4 depends on package: p5-IO-Multiplex>=0 - found
===>   postgrey-1.34_4 depends on package: p5-Parse-Syslog>=0 - found
===>   postgrey-1.34_4 depends on package: p5-BerkeleyDB>=0 - found
===>   postgrey-1.34_4 depends on package: p5-Net-DNS>=0 - found
===>   postgrey-1.34_4 depends on file: /usr/local/bin/perl5.14.2 - found


make pretty-print-run-depends-list
This port requires package(s) "db47-4.7.25.4 p5-BerkeleyDB-0.51 p5-Digest-HMAC-1.03 p5-IO-Multiplex-1.13 p5-IO-Socket-INET6-2.69 p5-Net-DNS-0.72 p5-Net-Server-2.007 p5-Parse-Syslog-1.10 p5-Socket6-0.23 perl-5.14.2_3" to run.

In reply to Re^2: perl 5.8.4, IO::Socket, and taint checking by Anonymous Monk
in thread perl 5.8.4, IO::Socket, and taint checking by thraxil

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.