POE::Component::Server::Postfix - Postfix (MTA) server toolkit
version 0.001
my $server = POE::Component::Server::Postfix->new( path => '/tmp/server', # unix socket OR port => 9999, # tcp socket (not both) host => '127.0.0.1', # default is 0.0.0.0 filter => 'Plain', # POE::Filter::Postfix::* handler => sub { my ($server, $attr) = @_; return { action => 'DUNNO' }; }, ); POE::Kernel->run;
Hans Dieter Pearcey <hdp@cpan.org>
This software is copyright (c) 2008 by Hans Dieter Pearcey.
This is free software; you can redistribute it and/or modify it under the same terms as perl itself.
To install POE::Component::Server::Postfix, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::Server::Postfix
CPAN shell
perl -MCPAN -e shell install POE::Component::Server::Postfix
For more information on module installation, please visit the detailed CPAN module installation guide.