Mail::Milter::Module::MailBogusNull3pm
Milter to reject null-sender mail to multiple recipients
Usage
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');
Overview
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
Releases
4 releases since Debian 9 (Stretch); the text changed 1 time.