Re: Net::Telnet and SMTP



On 14 Jun 2005 11:18:34 -0700, crr wrote:

> I originally tried this out over in comp.lang.perl.modules, but didn't
> really get anywhere, so I thought I'd take a crack at it over here.
>
> Hi all,
>
> I'm using Net::Telnet to test an SMTP proxy product and I've run into
> an issue with it.
>
> First, I'm trying to send a sequence of commands and then log both the
> commands sent and the response from the server into a log file. The
> responses need to match up EXACTLY to the commands to which they are in
> response. Second, I've tried Net::SMTP and it doesn't quite do what I
> need. Since the product I'm testing may have to deal with......er,
> impolite SMTP clients (read: crackers) I want to make sure that if the
> SMTP protocol being sent is broken that the proxy reponds in a correct
> (read: secure) way. Unfortunately Net::SMTP doesn't give me the level
> of control I need....mostly because it's too polite. ;)
>
<snip>
Hi

It isn't clear what your problem is. What issue are you having with your
first requirement and what is the smallest complete program that will
demonstrate this?

I am not particularly familiar with Net::Telnet or Net::SMTP, but I would
be tempted to use Expect.

Mark
.



Relevant Pages

  • Re: [opensuse] Error downloading new theme for plasma...
    ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ... Thanks for the response. ... Is there a log file where I can check what ...
    (SuSE)
  • Re: [opensuse] Error downloading new theme for plasma...
    ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ... Thanks for the response. ... Is there a log file where I can check what ...
    (SuSE)
  • Re: Net::Telnet and SMTP
    ... I'm trying to send a sequence of commands and then log both the ... commands sent and the response from the server into a log file. ... impolite SMTP clients I want to make sure that if the ...
    (comp.lang.perl.misc)
  • [patch 2/3] s390: add vmcp interface.
    ... Add interface to issue VM control program commands. ... * the caller of __cpcmd has to ensure that the response buffer is below 2 GB ... +static int vmcp_open ...
    (Linux-Kernel)
  • Re: Adventures in Proofing Pt 2
    ... rock-solid recalls (and the immediate and correct response to ... commands) are directly related to how much time and effort a dog's ...
    (rec.pets.dogs.behavior)