in reply to Net::SMTP, response from server

Have you tried turning debugging on to see what the responses are?

my $smtp=Net::SMTP->new('mailserver', Debug => 1);

Replies are listed 'Best First'.
Re^2: Net::SMTP, response from server
by imcsk8 (Pilgrim) on Nov 18, 2004 at 20:11 UTC
    i can se the debugging on the postfix log file, but it's truncated, does Net::SMTP send the debug texto to STDERR??

    UPDATE:

    i redirected STDERR (yes, the debug output goes to STDERR) to a file and i found that the mail server was returning errors but it didn't close the connection until the DATA command was issued, then it returns the "Invalid command order" error and close the connection (in fact in all the cases the first error issued was an invalid mailbox error)

    <br ignorance, the plague is everywhere
    --guttermouth