Hans Dieter Pearcey

NAME

POE::Component::Server::Postfix - Postfix (MTA) server toolkit

VERSION

version 0.001

SYNOPSIS

  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;

AUTHOR

  Hans Dieter Pearcey <hdp@cpan.org>

COPYRIGHT AND LICENSE

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.