I´ve run this command to all ISP I´ve tryed:
[root@casa ~]# config show SMTPSmartHost
SMTPSmartHost=smtplw.com.br:587
and this is the return of your command:
[root@casa ~]# perl -MNet::SMTP -e 'die "fail" unless Net::SMTP->new("smtplw.com.br:587", Debug => 1);'
Net::SMTP>>> Net::SMTP(2.29)
Net::SMTP>>> Net::Cmd(2.26)
Net::SMTP>>> Exporter(5.58)
Net::SMTP>>> IO::Socket::INET(1.29)
Net::SMTP>>> IO::Socket(1.29)
Net::SMTP>>> IO::Handle(1.25)
Net::SMTP=GLOB(0x8d61790)<<< 220 saasauth0001.correio.biz ESMTP Postfix (Debian/GNU)
Net::SMTP=GLOB(0x8d61790)>>> EHLO localhost.localdomain
Net::SMTP=GLOB(0x8d61790)<<< 250-saasauth0001.correio.biz
Net::SMTP=GLOB(0x8d61790)<<< 250-PIPELINING
Net::SMTP=GLOB(0x8d61790)<<< 250-SIZE 37527614
Net::SMTP=GLOB(0x8d61790)<<< 250-VRFY
Net::SMTP=GLOB(0x8d61790)<<< 250-ETRN
Net::SMTP=GLOB(0x8d61790)<<< 250-STARTTLS
Net::SMTP=GLOB(0x8d61790)<<< 250-AUTH PLAIN LOGIN
Net::SMTP=GLOB(0x8d61790)<<< 250-ENHANCEDSTATUSCODES
Net::SMTP=GLOB(0x8d61790)<<< 250-8BITMIME
Net::SMTP=GLOB(0x8d61790)<<< 250 DSN
other configurations I´ve done and SHOULD work (because work in a program running on same network):
[root@casa ~]# perl -MNet::SMTP -e 'die "fail" unless Net::SMTP->new("mail-ssl.locaweb.com.br:587", Debug => 1);'
Net::SMTP>>> Net::SMTP(2.29)
Net::SMTP>>> Net::Cmd(2.26)
Net::SMTP>>> Exporter(5.58)
Net::SMTP>>> IO::Socket::INET(1.29)
Net::SMTP>>> IO::Socket(1.29)
Net::SMTP>>> IO::Handle(1.25)
Net::SMTP=GLOB(0x9a867b0)<<< 220 bart0123.email.locaweb.com.br ESMTP Postfix (Debian/GNU)
Net::SMTP=GLOB(0x9a867b0)>>> EHLO localhost.localdomain
Net::SMTP=GLOB(0x9a867b0)<<< 250-bart0123.email.locaweb.com.br
Net::SMTP=GLOB(0x9a867b0)<<< 250-PIPELINING
Net::SMTP=GLOB(0x9a867b0)<<< 250-SIZE 50000000
Net::SMTP=GLOB(0x9a867b0)<<< 250-VRFY
Net::SMTP=GLOB(0x9a867b0)<<< 250-ETRN
Net::SMTP=GLOB(0x9a867b0)<<< 250-STARTTLS
Net::SMTP=GLOB(0x9a867b0)<<< 250-AUTH PLAIN LOGIN
Net::SMTP=GLOB(0x9a867b0)<<< 250-ENHANCEDSTATUSCODES
Net::SMTP=GLOB(0x9a867b0)<<< 250-8BITMIME
Net::SMTP=GLOB(0x9a867b0)<<< 250 DSN
This should work... but doesn´t
and yes, I´ve double check the credentials by using webmail.
Regards
Jáder