Todd Vierling > Mail-Milter-0.07 > Mail::Milter::Module::MailBogusNull

Download:
Mail-Milter-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Mail::Milter::Module::MailBogusNull - milter to reject null-sender mail to multiple recipients

SYNOPSIS ^

    use Mail::Milter::Module::MailBogusNull;

    my $milter = new Mail::Milter::Module::MailBogusNull;

    my $milter2 = &MailBogusNull; # convenience

    $milter2->set_message('Null sender mail should go to only one recipient');

DESCRIPTION ^

This milter module rejects any mail from a null sender (empty <> address) which attempts to deliver to multiple recipients. Normal delivery status notifications are intended for a single message, and thus should only ever be addressed to a single recipient.

METHODS ^

new()

Creates a MailBogusNull object. There are no arguments to configure this module, as it is a fixed check.

set_message(MESSAGE)

Sets the message used when rejecting messages.

This method returns a reference to the object itself, allowing this method call to be chained.

AUTHOR ^

Todd Vierling, <tv@duh.org> <tv@pobox.com>

SEE ALSO ^

Mail::Milter::Object

syntax highlighting: