> >I need to create a simple perl script that can mimic an SMTP server. Having >some >difficulty coming up with a workable solution. > >The script will need to run as a daemon (24/7) accepting connections on port >25. >When a request comes in, >the script will take in the email as any SMTP server, parse out the header and >message. >
Hello, Maybe you can check Mail::SMTP::Honeypot as a referenct. http://search.cpan.org/~miker/Mail-SMTP-Honeypot-0.06/Honeypot.pm Once I did almost the same thing as you,used IO::Socket to handle socket connection and implement content parsing by myself. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/