RE: SMTP problem on NT

From: Lynn W. Taylor (Lynn@BusCom.net)
Date: Thu Feb 03 2000 - 14:15:48 EST


In reg_system.cgi, somewhere around line 37, you need to add "use Socket;"

That module is required if $MAIL_TYPE="smtp" -- and it's missing.

I don't think the other CGIs send E-Mail, so it isn't required there.

For others working on NT -- be sure to check out
http://www.atlcon.net/opensrs/nt-howto.htm (Thanks again, Eric!)

-- Lynn

-----Original Message-----
From: piero
Sent: Thursday, February 03, 2000 10:32 AM
To: dev-list@opensrs.org
Subject: SMTP problem on NT

I have finally successful installed the perl modules required (Thanks to
Todd Clark!) on my Win NT server.
Now I'm able to register domain (on test server of course).

Just one question:
At the final step I can see the following message:
====
Registration Successful for testdomain.com
For tracking purposes, your registration order # is 6513. Please include
this number and the name of your domain
in an email to my.email@mt.host.com if you have any questions about the
status of your registration.

Search for another domain
Home Page
Undefined subroutine &main::inet_aton called at
C:\InetPub\scripts\domain\cgi\reg_system.cgi line 847.
=========
Searching in reg_system.cgi, line 847 I see:
$iaddr = inet_aton( $SMTP_SERVER);

In my opensrs.con I have setup this:

$MAIL_TYPE = "smtp";
$LOCALHOST = 'hostname.mydomain.com';
$SMTP_SERVER = 'mymailserve.mydomain.com';
$SMTP_PORT = 25;

Have anyone some tips to workaround this problem ?

Thanks.

Piero



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:18 EDT