in reply to Using The Mail::Sendmail module in CGI Script
What this means is that the error occurs when the system is creating a socket, but before it attempts to connect to anything.unless ( socket S, AF_INET, SOCK_STREAM, scalar(getprotobyname + 'tcp') ) { return fail("socket failed ($!)") }
Are you running fedora? This sounds like a problem with SELINUX preventing the script from creating a socket.
|
|---|