Click here to get back home

Net::SMTP fails

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Net::SMTP fails hendedav 05-07-2008
Posted by smallpond on May 9, 2008, 3:07 pm
Please log in for more thread options
Peter J. Holzer wrote:
>
>>This line:
>>250-AUTH LOGIN PLAIN XYMCOOKIE
>>says that you must authenticate with one of the types: LOGIN, PLAIN or
XYMCOOKIE.
>
>
> No, it says that you *can* authenticate using one of these methods.
>
>         hp


The response from the server when Dave tried not authenticating already told us
that you *must* authenticate:

Net::SMTP=GLOB(0x82ccfac)<<< 530 authentication required

So are you suggesting that Dave try to authenticate with a method not from the
list?
--S
** Posted from http://www.teranews.com **

Posted by Peter J. Holzer on May 11, 2008, 4:46 am
Please log in for more thread options
> Peter J. Holzer wrote:
>>>This line:
>>>250-AUTH LOGIN PLAIN XYMCOOKIE
>>>says that you must authenticate with one of the types: LOGIN, PLAIN or
XYMCOOKIE.
>>
>>
>> No, it says that you *can* authenticate using one of these methods.
>
> The response from the server when Dave tried not authenticating already told us
> that you *must* authenticate:
>
> Net::SMTP=GLOB(0x82ccfac)<<< 530 authentication required

You will notice that "250-AUTH LOGIN PLAIN XYMCOOKIE" and "530
authentication required" are not the same message.

The fist means "This server supports the following authentication
methods and you can authenticate yourself using any of them". It doesn't
say that authentication is required, only that it is possible. It may be
the case the authentication is required for some specific operations,
but again, this message doesn't tell you for which. (as a bit of
anectotal evidence, in late 2005 I was collecting statistics about ESMTP
extensions: AUTH was announced by 50 % of the MXs we were sending mail
to - but we could send mail to them just fine, no authentication was
required).

The second message means: "authentication is required for this specific
operation" (probably a RCPT command). This one says that you *must*
authenticate, and the earlier response to EHLO told you which methods
you *can* use.


> So are you suggesting that Dave try to authenticate with a method not from the
list?

No. I wasn't suggesting anything to the OP, I was just correcting your
mistaken statement about what the response to EHLO means.

(In fact I haven't seen anything from the OP that indicates that he
tried to authenticate at all, so I'd suggest that he try to authenticate
using a method from the list, but maybe I missed a posting)

        hp


Posted by A. Sinan Unur on May 7, 2008, 3:54 pm
Please log in for more thread options
hendedav@gmail.com wrote in

>> > 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(0x82cd2dc)<<< 220 smtp106.biz.mail.re2.yahoo.com ESMTP
>> > Net::SMTP=GLOB(0x82cd2dc)>>> EHLO digital-pipe.com
>> > Net::SMTP=GLOB(0x82cd2dc)<<< 250-smtp106.biz.mail.re2.yahoo.com
>> > Net::SMTP=GLOB(0x82cd2dc)<<< 250-AUTH LOGIN PLAIN XYMCOOKIE
>> > Net::SMTP=GLOB(0x82cd2dc)<<< 250-PIPELINING
>> > Net::SMTP=GLOB(0x82cd2dc)<<< 250 8BITMIME
...

> Thanks for the reply. Why would this script work just fine on one
> computer and then stop at the above point on the other?

What script are you talking about? I haven't seen any code in the
messages you have posted so far.

Sinan
--
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://www.rehabitation.com/clpmisc/

Similar ThreadsPosted
Constant.t fails 240 of 272 tests and recurs.t fails 1 of 25 tests on HPUX using perl 5.8.7 December 8, 2005, 9:16 am
Net::SMTP September 20, 2004, 5:55 pm
Net::SMTP April 3, 2006, 12:01 pm
Net::SMTP woes August 11, 2004, 8:19 pm
Net::SMTP woes August 11, 2004, 8:19 pm
Net::SMTP and attachments August 23, 2004, 9:58 am
Net::Telnet and SMTP June 14, 2005, 12:18 pm
Check smtp April 28, 2006, 5:23 am
use Net::SMTP::Multipart; May 20, 2006, 9:20 pm
Re: Net::SMTP problem September 1, 2006, 7:37 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap