NAME

Mail::Milter::Authentication::Protocol::Milter - Milter protocol handling

VERSION

version 2.20200331.1

SYNOPSIS

Subclass of Net::Server::PreFork for bringing up the main server process for authentication_milter.

Please see Net::Server docs for more detail of the server code.

DESCRIPTION

A Perl implementation of email authentication standards rolled up into a single easy to use milter.

METHODS

register_metrics

Return details of the metrics this module exports.

protocol_process_command( $command, $buffer )

Process the command from the milter protocol stream.

milter_process_connect( $buffer )

Process a milter connect command.

milter_read_block( $len )

Read $len bytes from the milter protocol stream.

milter_split_buffer( $buffer )

Split the milter buffer at null

add_header( $header, $value )

Write an add header packet

change_header( $header, $index, $value )

Write a change header packet

insert_header( $index, $key, $value )

Writa an insert header packet

write_packet( $code, $data )

Write a packet to the protocol stream.

milter_process_command( $command, $data )

Process the milter command $command with the data from $data.

protocol_process_request()

Receive a new command from the protocol stream and process it.

AUTHOR

Marc Bradshaw <marc@marcbradshaw.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Marc Bradshaw.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.