POEST::Server::Events - Document all the standard events.
Comprehensive documentation on all the standard events. These are the basic events that a standard SMTP server should implement.
Lots of events are created by the poest server. We should probably write them down for someone, perhaps even you!
SMTP events are only self explainitory to people who understand SMTP commands. Of course, RFC 2821 can help with that, but there should be a quick explination here.
ARG0 is the host passed by the client, if there is one.
ARG0
The client has decided to close the connection. A handler for this method should set $heap->{shutdown} to a true value. This will tell the server to shutdown the connection.
$heap->{shutdown}
This event is called as soon as a connection is established. An SMTP server sends a banner to tell the client who it is, that's what we do here.
Casey West, <casey@dyndns.org>
Copyright 2003 DynDNS.org
You may distribute this package under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file, with the exception that it may not be placed on physical media for distribution without the prior written approval of the author.
THIS PACKAGE IS PROVIDED WITH USEFULNESS IN MIND, BUT WITHOUT GUARANTEE OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. USE IT AT YOUR OWN RISK.
For more information, please visit http://opensource.dyndns.org
perl, POEST::Server.
To install POEST::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POEST::Server
CPAN shell
perl -MCPAN -e shell install POEST::Server
For more information on module installation, please visit the detailed CPAN module installation guide.