bugPOE::Component::Client::SMTP - Bugs: bug #15674, module doesn't bother to check...

 
 

bug #15674: module doesn't bother to check smtp state

Submitted by:  None
Submitted on:  Thu 09 Feb 2006 09:05:31 AM UTC  
 
Category: SMTP senderSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicPercent Complete: 0%
Assigned to: NoneOpen/Closed: Open
Release: 0.13Operating System: *BSD
Reproducibility: Every TimeFixed Release: None
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 09 Feb 2006 09:05:31 AM UTC, original submission:

The module does generate a list of expected status codes, but never bothers to check whether they are received in response to commands sent. In other words, it ignores any errors...

This is a protocol error, and some mail servers are very picky. Here is a debug output of a session gone bad:

CURRENT STATE: _pococlsmtp_send at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647
CURRENT STATE: _pococlsmtp_conn_est at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647
CURRENT STATE: _pococlsmtp_input at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647
INPUT: 220 mail.censored.com ESMTP CommuniGate Pro 5.0.8
TO SEND: HELO localhost
CURRENT STATE: _pococlsmtp_input at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647
INPUT: 250 mail.censored.com domain name should be qualified localhost
TO SEND: MAIL FROM: <notices@censored.com>
CURRENT STATE: _pococlsmtp_input at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647
INPUT: 250 -unavailable- sender accepted
TO SEND: RCPT TO: <recipient@aol.com>
CURRENT STATE: _pococlsmtp_input at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647
INPUT: 571 -unavailable- prohibited. We do not relay
TO SEND: DATA
CURRENT STATE: _pococlsmtp_input at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647
INPUT: 554 no valid RCPT address specified
TO SEND: To: "John Doe" <recipient@aol.com>
From: "Customer Service" <notices@censored.com>
Subject: Order status for John Doe
Date: Thu, 09 Feb 2006 03:51:36 -0500

Dear John Doe,

Please call me.

Thank you!

.
CURRENT STATE: _pococlsmtp_input at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647
INPUT: 501 Unknown command
TO SEND: QUIT
CURRENT STATE: _pococlsmtp_input at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647
INPUT: 501 Unknown command
CURRENT STATE: _smtp_component_destroy at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647
## HERE WE GET A SUCCESS_CALLBACK
CURRENT STATE _pococlsmtp_stop at /usr/local/lib/perl5/site_perl/5.8.7/POE/Session.pm line 647

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1