[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Net::SMTP and Mail::Internet->smtpsend in MacPerl




At 2:29 PM -0500 2/16/99, Chris Nandor wrote:
>At 14.19 -0500 1999.02.16, Christian Schaller wrote:

>>Any thoughts on this matter? Why the delay? How can I minimize it without
>>using Net::SMTP's debugging? (And can I get Net::SMTP to take embellished
>>e-mail addresses?)

>Hm.  Well, let me ask you, does your machine have a name in any DNS, or
>just a numeric IP address?  If the latter, I wonder if Net::SMTP uses
>Net::Domain.  I bet it does for the HELO command.  Yep,
>Net::Domain::hostfqdn().  If you have a numeric IP, try doing what I put in
>this post a couple weeks ago:

Hm. Well, both machines have real names in real DNSes, though you seem
to have hit the problem on the head regardless. Sure enough, when I
looked at the program that was executing without delay (the one in which
I use Net::SMTP directly, not Mail::Internet), I found that I'd been
supplying the Hello parameter. If I comment it out, there's the delay
again.

So it really does seem to be a DNS lookup that's the problem.

># fail. So I put this on line 218 of Net::Domain 2.09:
>#
>#     return $fqdn = $host if ($host =~ /\./ && $host =~ /^[\d.]+$/);

I put that in as you suggested, on line 218 of Net::Domain 2.09. It
didn't seem to help matters, though.

Thanks,

Chris Schaller



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch