qpsmtpd/qpsmtpd

32 lines
620 B
Plaintext
Raw Normal View History

#!/usr/bin/perl -Tw
2001-10-30 03:04:56 +01:00
# Copyright (c) 2001 Ask Bjoern Hansen. See the LICENSE file for details.
# The "command dispatch" system is taken from colobus - http://trainedmonkey.com/colobus/
#
# this is designed to be run under tcpserver (http://cr.yp.to/ucspi-tcp.html)
2001-10-30 03:04:56 +01:00
# or inetd if you're into that sort of thing
#
#
# For more information see http://develooper.com/code/qpsmtpd/
#
#
use lib 'lib';
use Qpsmtpd::TcpServer;
2001-10-30 03:04:56 +01:00
use strict;
$| = 1;
delete $ENV{ENV};
$ENV{PATH} = '/var/qmail/bin';
# should this be ->new ?
my $qpsmtpd = Qpsmtpd::TcpServer->new();
$qpsmtpd->start_connection();
$qpsmtpd->run();
2001-10-30 03:04:56 +01:00
__END__
2001-10-30 03:04:56 +01:00
2001-10-30 03:04:56 +01:00
1;