File: inetd

package info (click to toggle)
libnet-perl 1.0703-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 352 kB
  • ctags: 392
  • sloc: perl: 4,114; makefile: 42
file content (9 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
#!/usr/local/bin/perl

use Net::DummyInetd;
use Net::SMTP;

$p = new Net::DummyInetd qw(/usr/lib/sendmail -ba -bs);

$smtp = Net::SMTP->new('localhost', Port => $p->port, Debug => 7);
$smtp->quit;