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.
POD ERRORS
Hey! The above document had some coding errors, which are explained below:- Around line 73:
-
You can't have =items (as at line 85) unless the first thing after the =over is an =item