Subject: | Net::smtp timeout on Redhat as4 |
While trying to use Net::smtp VERSION = "2.29" on Redhat as4 there is a
30 second timeout on sending messages. Of course the same script works
instantly on netlib 1.16 and smtp 2.24/ Redhat 9. Sending mail using
other methods, such as the simple "mail" command also work instantly.
Can you help me to problem solve this better? A sample of the test below:
Thank You,
jeff
# time ./smtp_test.pl -debug -user jeff.blasius@yale.edu
Net::SMTP>>> Net::SMTP(2.29)
Net::SMTP>>> Net::Cmd(2.26)
Net::SMTP>>> Exporter(5.58)
Net::SMTP>>> IO::Socket::INET(1.27)
Net::SMTP>>> IO::Socket(1.28)
Net::SMTP>>> IO::Handle(1.24)
Net::SMTP=GLOB(0x85c720)<<< 220 research1.wss.yale.edu ESMTP Postfix
Net::SMTP=GLOB(0x85c720)>>> EHLO localhost.localdomain
Net::SMTP=GLOB(0x85c720)<<< 250-research1.wss.yale.edu
Net::SMTP=GLOB(0x85c720)<<< 250-PIPELINING
Net::SMTP=GLOB(0x85c720)<<< 250-SIZE 10240000
Net::SMTP=GLOB(0x85c720)<<< 250-VRFY
Net::SMTP=GLOB(0x85c720)<<< 250-ETRN
Net::SMTP=GLOB(0x85c720)<<< 250 8BITMIME
Net::SMTP=GLOB(0x85c720)>>> MAIL FROM:<jeff.blasius@yale.edu>
Net::SMTP=GLOB(0x85c720)<<< 250 Ok
Net::SMTP=GLOB(0x85c720)>>> RCPT TO:<jeff.blasius@yale.edu>
~60 second timeout
Net::SMTP=GLOB(0x85c720)<<< 250 Ok
Net::SMTP=GLOB(0x85c720)>>> RSET
Net::SMTP=GLOB(0x85c720)<<< 250 Ok
Net::SMTP=GLOB(0x85c720)>>> MAIL FROM:<jeff.blasius@yale.edu>
Net::SMTP=GLOB(0x85c720)<<< 250 Ok
Net::SMTP=GLOB(0x85c720)>>> RCPT TO:<jeff.blasius@yale.edu>
~60 second timeout
Net::SMTP=GLOB(0x85c720)<<< 250 Ok
Net::SMTP=GLOB(0x85c720)>>> DATA
Net::SMTP=GLOB(0x85c720)<<< 354 End data with <CR><LF>.<CR><LF>
Net::SMTP=GLOB(0x85c720)>>> To: <jeff.blasius@yale.edu>
Net::SMTP=GLOB(0x85c720)>>> Subject: A test message
Net::SMTP=GLOB(0x85c720)>>>
Net::SMTP=GLOB(0x85c720)>>> The message was sent directly via SMTP using
Net::SMTP
Net::SMTP=GLOB(0x85c720)>>> .
Net::SMTP=GLOB(0x85c720)>>> The message was sent directly via SMTP using
Net::SMTP
Net::SMTP=GLOB(0x85c720)>>> .
Net::SMTP=GLOB(0x85c720)<<< 250 Ok: queued as 9D5C7320FCA
Net::SMTP=GLOB(0x85c720)>>> QUIT
Net::SMTP=GLOB(0x85c720)<<< 221 Bye
real 1m54.131s
user 0m0.064s
sys 0m0.013s